use CGI:

my $q = new CGI;
my $method = $q->request_method();

Like the other guy said, Perl is a general purpose language. If you want specific HTTP stuff you'll have to load specific modules to do that. This is one example.

You can do the same thing using Fast CGI and mod_perl as well.

On Jun 10, 2007, at 3:18 PM, On Ali wrote:


Is there a perl equivalent to PHP variables $_POST and $_GET?


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to