Chloro::ErrorMessage - An error message
version 0.06
print $message->category . ': ' . $message->text();
This class represents an error message. A message has a category and message text.
This class has the following methods:
This is a string that tells what kind of error message this is. By default, Chloro only uses "invalid" and "missing", but there's nothing preventing you from using other categories in your code.
The text of the error message.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Chloro, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chloro
CPAN shell
perl -MCPAN -e shell install Chloro
For more information on module installation, please visit the detailed CPAN module installation guide.