summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-10 15:21:26 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-10 15:21:26 +0000
commit41f494d50c746b98d2d03df6bc02ffcaad9938ec (patch)
treecea97820433df81468dc346105c3c2c9975472fc /t
parentd0363f020d9cc3427a5b2415c773db2e04d341c8 (diff)
downloadperl-41f494d50c746b98d2d03df6bc02ffcaad9938ec.tar.gz
A proof of the dangers of package; ?
p4raw-id: //depot/perl@11262
Diffstat (limited to 't')
-rw-r--r--t/lib/warnings/op2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/lib/warnings/op b/t/lib/warnings/op
index d3a2d548fe..20185964b6 100644
--- a/t/lib/warnings/op
+++ b/t/lib/warnings/op
@@ -969,3 +969,5 @@ no warnings 'deprecated' ;
package;
EXPECT
Use of "package" with no arguments is deprecated at - line 3.
+Global symbol "BEGIN" requires explicit package name at - line 4.
+BEGIN not safe after errors--compilation aborted at - line 4.