Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

perlman:CGI::Apache

by root (Scribe)
on Dec 23, 1999 at 00:50 UTC ( #1167=perlfunc: print w/ replies, xml ) Need Help??

CGI::Apache

See the current Perl documentation for CGI::Apache.

Here is our local, out-dated (pre-5.6) version:


CGI::Apache - Make things work with CGI.pm against Perl-Apache API



 require CGI::Apache;

 my $q = new Apache::CGI;

 $q->print($q->header);

 #do things just like you do with CGI.pm



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.


NOTE 1

This module used to be named Apache::CGI. Sorry for the confusion.


NOTE 2

If you're going to inherit from this class, make sure to ``use'' it after your package declaration rather than ``require'' it. This is because CGI.pm does a little magic during the import() step in order to make autoloading work correctly.


SEE ALSO

perl(1), Apache(3), CGI(3)


AUTHOR

Doug MacEachern <dougm@osf.org>, hacked over by Andreas König <a.koenig@mind.de>, modified by Lincoln Stein <lt>


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (18)
As of 2015-07-29 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls