Ingenious, but unnecessary. There's Scalar::Util::tainted.sub is_tainted { return ! eval { eval("#" . substr(join("", @_), 0, 0)); 1 }; }
Anno
In reply to Re^2: Checking to see if Taint mode is enabled
by Anno
in thread Checking to see if Taint mode is enabled
by saintly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |