----- Original Message ----
From: On Ali <[EMAIL PROTECTED]>
> Is there a perl equivalent to PHP variables $_POST and $_GET?
It would be easy to create, but what you really want is the CGI module:
#!/usr/bin/perl
use strict;
use warnings;
use CGI ':standard';
my $id = param('id');
my $name = param('name');
my @sports = param('sport'); # e.g. sport=basketball;sport=football
Cheers,
Ovid
--
Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/