Apache::CGI - Make things work with CGI.pm against Perl-Apache API
require Apache; require Apache::CGI; my $r = Apache->request; my $q = new Apache::CGI $r; $r->print($q->header); #do things just like you do with CGI.pm
**NOTE** If you are using a version of CGI.pm such as 2.19, comment out the SelfLoader stuff. Once CGI.pm-2.22 is released we'll be in much better shape... ********
When using the Perl-Apache API, your applications are faster, but the enviroment is different than CGI. This module attempts to set-up that environment as best it can.
perl(1), Apache(3), CGI(3)
To install Apache, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache
CPAN shell
perl -MCPAN -e shell install Apache
For more information on module installation, please visit the detailed CPAN module installation guide.