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).
In reply to Re^2: What's your favourite method of untainting?
by Corion
in thread What's your favourite method of untainting?
by Corion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |