in reply to
apostrophes and security
One method of deleting all undesirable characters:
$value =~ tr/A-Za-z0-9_//cd; # delete non-\w chars
[download]
Comment on
Re: apostrophes and security
Download
Code
Replies are listed 'Best First'.
Re^2: apostrophes and security
by
deadnancy
(Novice)
on Aug 16, 2005 at 04:27 UTC
Thanks, trammell, but that regex kills ampersands and semicolons, both necessary for what I want to do.
[reply]
In Section
Seekers of Perl Wisdom