On Mon, 4 Mar 2002 13:48:34 -0500 (EST), [EMAIL PROTECTED] (Shaun Fryer) wrote:
>I'm trying to convert an old script that used cgi-lib.pl over to using
>CGI.pm. In order to save time I'd like to simply do something like
>what follows (though that doesn't actually work it seems).
>
>%in = param;
>
>Any ideas?
use CGI;
my $cgi=new CGI;
my %in = $cgi->Vars();
#to print
foreach my $key (keys %in){
print "$key\t$in{$key}\n";
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]