in reply to How do I tell if strict, taint, etc are on?
Others have addressed testing for Taint.print "strict module loaded... ", exists($INC{'strict.pm'}) ? "yes" : "no", "\n"; print "warnings module loaded... ", exists($INC{'warnings.pm'}) ? "yes" : "no", "\n";
Update: fixed typo noticed by been42
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How do I tell if strict, taint, etc are on?
by been42 (Curate) on Mar 17, 2006 at 15:44 UTC | |
by linux454 (Pilgrim) on Mar 17, 2006 at 18:14 UTC |