in reply to Security?
Again, sorry :-/sub makeSafe{ my $value = $_[0]; if($value =~ m/[;><\*`\|]/){ $value =~ s/[;><\*`\|]//g; } return $value; }
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Security?
by Improv (Pilgrim) on Apr 24, 2003 at 03:36 UTC | |
by nothingmuch (Priest) on Apr 24, 2003 at 11:27 UTC |