Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to What's your favourite method of untainting?

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.
</tongue_in_cheek>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://516693]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-18 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found