ces has asked for the wisdom of the Perl Monks concerning the following question:
It's very basic, but @podatki and %uporabnik stay empty and I don't know why. I've followed instructions. $in contains something like this: "ime=Janez&vzdevek=Yanezh&Submit=Moving+on" when the script is called. Any ideas about solving this are wellcomed :)if ($ENV{'REQUEST_METHOD'} eq "GET") { $in = $ENV{'QUERY_STRING'}; } else { $in = <STDIN>; } @podatki = split (/&/, $in); foreach my $slot (@podatki) { %uporabnik = split (/=/,$slot); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: form processing problem
by merlyn (Sage) on Mar 24, 2005 at 15:43 UTC | |
|
Re: form processing problem
by brian_d_foy (Abbot) on Mar 24, 2005 at 15:50 UTC | |
|
Re: form processing problem
by manav (Scribe) on Mar 24, 2005 at 15:49 UTC | |
by merlyn (Sage) on Mar 24, 2005 at 15:59 UTC | |
by manav (Scribe) on Mar 24, 2005 at 16:22 UTC | |
by merlyn (Sage) on Mar 24, 2005 at 16:28 UTC | |
by manav (Scribe) on Mar 24, 2005 at 16:43 UTC | |
by Tanktalus (Canon) on Mar 24, 2005 at 21:46 UTC | |
by merlyn (Sage) on Mar 24, 2005 at 22:50 UTC |