in reply to form parsing
Try this instead:
for my $p (qw(field1 field2)) { local $_ = $cgi->param($p); s/\*//g; # or tr/*//d; $cgi->param($p, $_); # set it back }
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 2: form parsing
by tilly (Archbishop) on Oct 09, 2001 at 19:24 UTC |