Apache2::WebApp::Base - Base class implementing common functionality
use base 'Apache2::WebApp::Base';
Base class module that implements a constructor and provides error reporting functionality for various WebApp Toolkit modules and scripts.
General object constructor.
my $obj = Apache2::WebApp::Base->new({ param1 => 'foo', param2 => 'bar', ... }); print $obj->{param1}; # bar is the value of 'param1' print $obj->{param2}; # foo is the value of 'param2'
Returns the package version number.
my $version = $self->version();
Output errors/exceptions and exit.
$self->error($mesg);
Apache2::WebApp
Marc S. Brooks, <mbrooks@cpan.org> http://mbrooks.info
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/artistic.html
To install Apache2::WebApp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache2::WebApp
CPAN shell
perl -MCPAN -e shell install Apache2::WebApp
For more information on module installation, please visit the detailed CPAN module installation guide.