diff options
author | Sam Tregar <sam@tregar.com> | 2002-01-05 19:29:25 -0500 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2002-01-06 04:52:50 +0000 |
commit | 420cdfc116ef70c5fc76ac6f0fd68df66919fd46 (patch) | |
tree | 576bd15f4f0b7295bc55a41b75c400563a7d35cc /t/comp/proto.t | |
parent | 36df99d62e5fb6553737ac83b8d35e75836213ae (diff) | |
download | perl-420cdfc116ef70c5fc76ac6f0fd68df66919fd46.tar.gz |
Bad prototype detection now an optional warning
Message-Id: <Pine.LNX.4.33.0201060023160.3715-200000@localhost.localdomain>
p4raw-id: //depot/perl@14101
Diffstat (limited to 't/comp/proto.t')
-rwxr-xr-x | t/comp/proto.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/comp/proto.t b/t/comp/proto.t index 4141f2abc6..e020be7536 100755 --- a/t/comp/proto.t +++ b/t/comp/proto.t @@ -547,6 +547,7 @@ print "ok ", $i++, "\n"; # check that obviously bad prototypes are getting warnings { + use warnings 'syntax'; my $warn = ""; local $SIG{__WARN__} = sub { $warn .= join("",@_) }; |