The stupid question is the question not asked | |
PerlMonks |
Re^4: Taint mode testing a moduleby mrider (Beadle) |
on Oct 17, 2012 at 22:32 UTC ( [id://999625]=note: print w/replies, xml ) | Need Help?? |
I stand corrected. I added #!/usr/bin/env perl -T to the top of the file and print STDERR ("\n\n\nTaint = '", ${^TAINT}, "'\n\n\n"); down where the first test would be, and sure enough it printed "Taint = 1" on the console. I was under the mistaken impression that "make test" didn't load the .t file directly, but instead ran it in an eval.
Sorry I doubted you!
In Section
Seekers of Perl Wisdom
|
|