![]() |
|
"be consistent" | |
PerlMonks |
Re: -T switch & untaint - how to resolve errors?by nobull (Friar) |
on Apr 10, 2005 at 06:37 UTC ( #446352=note: print w/replies, xml ) | Need Help?? |
You decide what values you expect in $file and $directory and then "launder" them using a regex capture that matches that expectation...
So for example, if $file should be a "word"1...
1. A word in this context means a string made up of characters a-z, A-Z, 0-9 and _.
In Section
Seekers of Perl Wisdom
|
|