1 Check strict refs functionality
5 # no strict, should build & run ok.
23 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 5.
31 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 5.
40 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 6.
48 Can't use an undefined value as a SCALAR reference at - line 5.
56 Can't use an undefined value as an ARRAY reference at - line 5.
64 Can't use an undefined value as a HASH reference at - line 5.
72 Can't use an undefined value as a symbol reference at - line 5.
75 # strict refs - no error
86 # strict refs - no error
87 use strict qw(subs vars) ;
96 # strict refs - no error
105 # strict refs - no error
114 # Check runtime scope of strict refs pragma
124 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 10.
127 # Check runtime scope of strict refs pragma
137 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 8.
140 # Check runtime scope of strict refs pragma
146 $a = sub { my $c = $$b ; }
150 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 8.
182 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at ./abc line 2.
193 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at abc.pm line 2.
194 BEGIN failed--compilation aborted at - line 2.
197 # Check scope of pragma with eval
208 # Check scope of pragma with eval
217 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at - line 6.
220 # Check scope of pragma with eval
227 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at - line 5.
230 # Check scope of pragma with eval
239 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at - line 9.
242 # Check scope of pragma with eval
252 # Check scope of pragma with eval
259 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at (eval 1) line 3.
262 # Check scope of pragma with eval
268 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at (eval 1) line 2.
271 # Check scope of pragma with eval
279 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at - line 8.