Apache::HeavyCGI::Exception - exception class for Apache::HeavyCGI
die Apache::HeavyCGI::Exception->new(HTTP_STATUS => status); die Apache::HeavyCGI::Exception->new(ERROR => [error, ...]);
The execution of the Apache::HeavyCGI::prepare method is protected by an eval. Within that block the above mentioned exceptions can be thrown. For a discussion of the semantics of these errors, see Apache::HeavyCGI.
You need not require the Apache::HeavyCGI::Error module, it is already required by Apache::HeavyCGI.
require
To install Apache::HeavyCGI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::HeavyCGI
CPAN shell
perl -MCPAN -e shell install Apache::HeavyCGI
For more information on module installation, please visit the detailed CPAN module installation guide.