diff options
author | Karen Etheridge <ether@cpan.org> | 2015-06-09 18:05:59 -0700 |
---|---|---|
committer | Karen Etheridge <ether@cpan.org> | 2015-06-25 19:05:48 -0700 |
commit | a21f04a4db5dda4ff53c32178bda09245f795f6b (patch) | |
tree | 143d52654f48081ca2b72312605e8604b791d15b | |
parent | fd023f044ead447d93818172e6e6145c9024fdb6 (diff) | |
download | uri-a21f04a4db5dda4ff53c32178bda09245f795f6b.tar.gz |
remove the use of global warnings, which can expose suppressed warnings in third-party modules
-rw-r--r-- | t/abs.t | 2 | ||||
-rw-r--r-- | t/clone.t | 2 | ||||
-rw-r--r-- | t/cwd.t | 2 | ||||
-rw-r--r-- | t/data.t | 2 | ||||
-rw-r--r-- | t/escape.t | 2 | ||||
-rw-r--r-- | t/file.t | 2 | ||||
-rw-r--r-- | t/ftp.t | 2 | ||||
-rw-r--r-- | t/generic.t | 2 | ||||
-rw-r--r-- | t/gopher.t | 2 | ||||
-rw-r--r-- | t/heuristic.t | 2 | ||||
-rw-r--r-- | t/http.t | 2 | ||||
-rw-r--r-- | t/idna.t | 2 | ||||
-rw-r--r-- | t/iri.t | 2 | ||||
-rw-r--r-- | t/ldap.t | 2 | ||||
-rw-r--r-- | t/mailto.t | 2 | ||||
-rw-r--r-- | t/mix.t | 2 | ||||
-rw-r--r-- | t/mms.t | 2 | ||||
-rw-r--r-- | t/news.t | 2 | ||||
-rw-r--r-- | t/num_eq.t | 2 | ||||
-rw-r--r-- | t/old-absconf.t | 2 | ||||
-rw-r--r-- | t/old-base.t | 2 | ||||
-rw-r--r-- | t/old-file.t | 2 | ||||
-rw-r--r-- | t/old-relbase.t | 2 | ||||
-rwxr-xr-x | t/path-segments.t | 4 | ||||
-rw-r--r-- | t/pop.t | 2 | ||||
-rw-r--r-- | t/punycode.t | 2 | ||||
-rw-r--r-- | t/query-param.t | 2 | ||||
-rw-r--r-- | t/query.t | 2 | ||||
-rw-r--r-- | t/rel.t | 2 | ||||
-rw-r--r-- | t/rfc2732.t | 2 | ||||
-rw-r--r-- | t/roy-test.t | 2 | ||||
-rw-r--r-- | t/rsync.t | 2 | ||||
-rw-r--r-- | t/rtsp.t | 2 | ||||
-rw-r--r-- | t/sip.t | 2 | ||||
-rw-r--r-- | t/split.t | 2 | ||||
-rw-r--r-- | t/storable-test.pl | 2 | ||||
-rw-r--r-- | t/storable.t | 2 | ||||
-rw-r--r-- | t/urn-isbn.t | 2 | ||||
-rw-r--r-- | t/urn-oid.t | 2 |
39 files changed, 4 insertions, 76 deletions
@@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,4 +1,4 @@ -#!perl -Tw +#!perl -T use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,4 +1,4 @@ -#!perl -Tw +#!perl -T use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; diff --git a/t/generic.t b/t/generic.t index b308674..e2f7b97 100644 --- a/t/generic.t +++ b/t/generic.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; diff --git a/t/heuristic.t b/t/heuristic.t index dc4d510..63c2ad8 100644 --- a/t/heuristic.t +++ b/t/heuristic.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!/usr/bin/perl -w - # Test URI's overloading of numeric comparison for checking object # equality diff --git a/t/old-absconf.t b/t/old-absconf.t index 0a4938c..536f4d7 100644 --- a/t/old-absconf.t +++ b/t/old-absconf.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; diff --git a/t/old-base.t b/t/old-base.t index 6dbdb80..77b562b 100644 --- a/t/old-base.t +++ b/t/old-base.t @@ -1,5 +1,3 @@ -#!/local/bin/perl -w - use strict; use warnings; diff --git a/t/old-file.t b/t/old-file.t index 1162614..e1ab8f5 100644 --- a/t/old-file.t +++ b/t/old-file.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; diff --git a/t/old-relbase.t b/t/old-relbase.t index a4e8025..3bd0ae8 100644 --- a/t/old-relbase.t +++ b/t/old-relbase.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; diff --git a/t/path-segments.t b/t/path-segments.t index 6b11f1c..ea9b4fa 100755 --- a/t/path-segments.t +++ b/t/path-segments.t @@ -1,6 +1,6 @@ -#!perl -w - use strict; +use warnings; + use Test::More 'no_plan'; use URI (); @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; diff --git a/t/punycode.t b/t/punycode.t index 91c1d49..d1e3084 100644 --- a/t/punycode.t +++ b/t/punycode.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; diff --git a/t/query-param.t b/t/query-param.t index 777d83a..fc852c0 100644 --- a/t/query-param.t +++ b/t/query-param.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!/usr/bin/perl -w - use strict; use warnings; diff --git a/t/rfc2732.t b/t/rfc2732.t index b11dea9..d69960a 100644 --- a/t/rfc2732.t +++ b/t/rfc2732.t @@ -1,5 +1,3 @@ -#!perl -w - # Test URIs containing IPv6 addresses use strict; diff --git a/t/roy-test.t b/t/roy-test.t index 23c7e9a..a7a9fdc 100644 --- a/t/roy-test.t +++ b/t/roy-test.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; diff --git a/t/storable-test.pl b/t/storable-test.pl index c558fa4..33deb6f 100644 --- a/t/storable-test.pl +++ b/t/storable-test.pl @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; use Storable; diff --git a/t/storable.t b/t/storable.t index 6343b3f..cf6e65a 100644 --- a/t/storable.t +++ b/t/storable.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; diff --git a/t/urn-isbn.t b/t/urn-isbn.t index 998aaa2..d8985f7 100644 --- a/t/urn-isbn.t +++ b/t/urn-isbn.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; diff --git a/t/urn-oid.t b/t/urn-oid.t index 105f3a1..d35e524 100644 --- a/t/urn-oid.t +++ b/t/urn-oid.t @@ -1,5 +1,3 @@ -#!perl -w - use strict; use warnings; |