There's more than one way to do things | |
PerlMonks |
Re: What's your favourite method of untainting?by Nkuvu (Priest) |
on Dec 14, 2005 at 17:07 UTC ( [id://516693]=note: print w/replies, xml ) | Need Help?? |
Personally like the method: my ($foo) = $var =~ /^.*$/ It's the "I don't care what was there, but now I'm sure it's safe" untaint method. And it looks more impressive than my $foo = 1.
In Section
Past Polls
|
|