#===========================================================================
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/'); ... if ($q->errorHandler->errors) { print STDERR "ARRGH! $_\n" for $q->errorHandler->errors; }
By default, any errors triggered are printed to STDERR. If you wish to disable this feature, set silent => 1 in the main lazy config.
Returns array of error messages produced by the request.
Returns array ref to array of error messages produced by the request.
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.