Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: What's your favourite method of untainting?

by Corion (Pope)
on Dec 16, 2005 at 16:29 UTC ( #517287=note: print w/ replies, xml ) Need Help??


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

Whoops - that's a typo. It should be:

($foo) = ($val =~ /^(?!.).$/);

and the essence of it is, that it never accepts any incoming data (albeit in a roundabout way).


Comment on Re^2: What's your favourite method of untainting?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-10-24 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (133 votes), past polls