Mango::Exception - Module representing an exception or error condition
use Mango::Exception; Mango::Exception->throw('Boom!');
Mango:Exception is a subclass of Error that does some custom message processing for Mango based exceptions.
When creating or throwing a new exception, you can pass in Error-style arguments, or just a plain old message string.
Mango::Exception->throw('Boom!'); Mango::Exception->throw(-text => 'Boom!', -line => 27, ...);
Any message passed in will automatically be translated using Mango::I18N.
Mango::I18N, Error
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Mango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mango
CPAN shell
perl -MCPAN -e shell install Mango
For more information on module installation, please visit the detailed CPAN module installation guide.