#===========================================================================
Copyright (C) 2008 by Nik Ogura. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Bug reports and comments to nik.ogura@gmail.com.
CGI::Lazy::ErrorHandler
use CGI::Lazy; my $q = CGI::Lazy->new('/path/to/config/'); eval { something(); }; if ($@) { $q->errorHandler->funkyErrorMethod; }
CGI::Lazy::ErrorHandler is simply a bunch of canned error messages for displaying errors to the user.
At some point in the future, it will display them in a neater and more unified way, but for now, it's just a convenience object.
To install CGI::Lazy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Lazy
CPAN shell
perl -MCPAN -e shell install CGI::Lazy
For more information on module installation, please visit the detailed CPAN module installation guide.