in reply to Tainted or bad characters
It's not what you disallow (as you might miss something) it's what you allow, change [0-9...] to whatever you allow
die "some error\n" if $foo =~ /[^0-9a-zA-Z]/;
"Pain is weakness leaving the body, I find myself in pain everyday" -me
|
|---|