sub is_tainted { return ! eval { join('',@_), kill 0; 1; }; } [download]
In reply to Re^2: detect taint mode in Perl 5.6.1 by Anonymous Monk in thread detect taint mode in Perl 5.6.1 by young_apprentice