in reply to Re: Checking to see if Taint mode is enabled
in thread Checking to see if Taint mode is enabled

You have to use that new global inside an eval for backwards compatibility:
sub is_tainted { my $taint; if ( $] >= 5.008 ) { $taint = eval '${^TAINT}'; } else { # some work around ... } $taint; }