in reply to Re^2: Search for abcNUMBERdef, make it a variable, then do math?
in thread Search for abcNUMBERdef, make it a variable, then do math?
I would assume that Perl is right when it points you to line 9.
... foreach my($pair) (@pairs){ ...
This is not valid Perl code. The valid Perl code would be (note the lack of parentheses)
foreach my $pair (@pairs){
But in all seriousness, why are you trying to do what is CGI.pm's job? Just use CGI; and then query $q->Vars to get a hash of parameters passed to your script. Don't parse query strings yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Search for abcNUMBERdef, make it a variable, then do math?
by Jesse Smith (Acolyte) on Jan 22, 2011 at 20:13 UTC | |
by Corion (Patriarch) on Jan 22, 2011 at 20:25 UTC |