
December 16th, 2012, 04:44 AM
|
|
|
Yes, that is more or less the basic idea. From the Perlrun manpage documentation:
Quote: -t
Like -T, but taint checks will issue warnings rather than fatal errors. These warnings can now be controlled normally with 'no warnings qw(taint)'.
Note: This is not a substitute for -T ! This is meant to be used only as a temporary development aid while securing legacy code: for real production code and for new secure code written from scratch, always use the real -T. |
See http://perldoc.perl.org/perlrun.html for more details.
BTW, the -w option should no longer be used for new code, use the 'use warnings' pragma instead.
|