Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: use CGI or die, even with mod_perl?

by perrin (Chancellor)
on Apr 29, 2003 at 16:24 UTC ( [id://254002]=note: print w/replies, xml ) Need Help??


in reply to use CGI or die, even with mod_perl?

You don't need CGI.pn unless you want to make your scripts backwards-compatible to CGI. You don't need Apache::Request either, since you can just use the args() method of the Apache object you get passed. Here is a simple example Apache::Registry script:
my $r = shift; %args = $r->args(); $r->send_http_header('text/html'); print "You said your name was " . $args{'name'};

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://254002]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2024-04-18 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found