diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2012-10-19 13:22:39 -0600 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-11-06 20:51:37 -0500 |
commit | da6e3e61d3d3194e7f769b7ddf7e6d16904c24d3 (patch) | |
tree | 46da14142216f7bc80b9f6fcb9ad7d2dd484b7d8 /t/TEST | |
parent | c93d2ba175ebe959d6fdb513561bf8dc33389a8b (diff) | |
download | perl-da6e3e61d3d3194e7f769b7ddf7e6d16904c24d3.tar.gz |
t/TEST: add -w to shebang, fix a used-once warning
Adding -w should be ok, despite peculiar code style; it avoids
require, unlike "use strict". Added risk of perl brokenness seems
vanishingly small. Fix one used-once warning thus exposed, and one
test in FileHandle.t surprised by t/TEST's new '-w' in the shebang.
Diffstat (limited to 't/TEST')
-rwxr-xr-x | t/TEST | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -#!./perl +#!./perl -w # This is written in a peculiar style, since we're trying to avoid # most of the constructs we'll be testing for. (This comment is @@ -108,7 +108,7 @@ my %skip = ( ); -if ($::do_nothing) { +if ($::do_nothing || $::do_nothing) { # set by harness b4 requiring us return 1; } |