Hello all, I'm preparing to upload an OO module to CPAN and would appreciate comments on the module name. Here's a quick excerpt of highlights from the doc:
-begin- With the Text::Messages class, you can create objects that dynamically construct status, error, or other messages on behalf of your programs. Text::Messages is particularly useful in larger projects, where it can be used to create centralized collections of messages that are easier to maintain and document than string literals scattered throughout the code. # create a list of messages $error_messages = Messages->new({ bad_file_format => 'File format not recognized!', file_open_failed => sub{"Unable to open file $_[0]: $!"}, _default => sub{"Unknown message " . shift() . " with params " . (join ",",@_)}, }); # generate messages print $error_messages->bad_file_format; print $error_messages->file_open_failed('myfile'); print $error_messages->no_such_message; # falls back to _default -end- I was originally thinking of calling this Text::MessageLibrary but thought that Text::Messages sounded cleaner. Any thoughts or suggestions? A version of the code is posted on my site if you want to get further information about what the module does: http://www.clyman.com/s/pm/messagelibrary/ Thanks for your feedback, John