Re: CGI.pm questions

2001-11-18 Thread Scott R. Godin
In article <3827643.100599@[10.0.0.140]>, [EMAIL PROTECTED] (Birgit Kellner) wrote: > I want to use CGI.pm to parse form input and store all name/value-pairs in > a hash. > > At present, the code I have reads like this: > > my $in = new CGI; > my %in = &parse_form; > > sub parse_form { >

CGI.pm questions

2001-11-17 Thread birgit kellner
I want to use CGI.pm to parse form input and store all name/value-pairs in a hash. At present, the code I have reads like this: my $in = new CGI; my %in = &parse_form; sub parse_form { my @names = $in->param; foreach my $name ( @names ) { if (param($name)) { $in{$name} = $in->