summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/t/pragma/strict-refs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/pragma/strict-refs')
-rw-r--r--contrib/perl5/t/pragma/strict-refs2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/perl5/t/pragma/strict-refs b/contrib/perl5/t/pragma/strict-refs
index 7bf1556..10599b0 100644
--- a/contrib/perl5/t/pragma/strict-refs
+++ b/contrib/perl5/t/pragma/strict-refs
@@ -196,6 +196,7 @@ ${"Fred"} ;
require "./abc";
EXPECT
Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at ./abc line 2.
+Compilation failed in require at - line 2.
########
--FILE-- abc.pm
@@ -207,6 +208,7 @@ my $a = ${"Fred"} ;
use abc;
EXPECT
Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at abc.pm line 2.
+Compilation failed in require at - line 2.
BEGIN failed--compilation aborted at - line 2.
########
OpenPOWER on IntegriCloud