Noooo!
Nooooooooo!
Use CGI.pm. Ignore this code please.
Just say no to cargo-cult programming!
Here's how to get a parameter with CGI.pm:
use CGI qw(:all); my $result = param('foo'); [download]
-- Randal L. Schwartz, Perl hacker