December 16th, 2012, 01:39 AM
910926 - what's the difference between -T and -t?
in the first line of perl script, i see:
i think if i use -wT instead of -wt, it may cause the script to stop at a specified line which taint mode is checked. while if i use -wt just a warning is generated and execution of the perl script is not stopped.
am i right?
December 16th, 2012, 04:44 AM
Yes, that is more or less the basic idea. From the Perlrun manpage documentation:
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.