in reply to Passing variables via internet links
oruse CGI; my $query = CGI->new; my $id = $query->param('id');
Have you read ovid's tutorial on Web Programming Using Perl?use CGI qw/:standard/; my $id = param('id');
update: I've assumed you'll be using a CGI script in which case you'd typically pass the parameter like:
http://www.perlmonks.org/cgi-bin/test.cgi?id=1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing variables via internet links
by cdherold (Monk) on Nov 20, 2006 at 00:09 UTC |