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
In reply to Re: form parsing
by merlyn
in thread form parsing
by Rotomola
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |