Lines Matching full:strict
1 Check strict refs functionality
5 # no strict, should build & run ok.
20 # strict refs - error
21 use strict ;
25 Can't use string ("A::Really::Big::Package::Name::T"...) as a HASH ref while "strict refs" in use a…
28 # strict refs - error
29 use strict ;
33 Can't use string ("A::Really::Big::Package::Name::T"...) as a SCALAR ref while "strict refs" in use…
36 # strict refs - error
37 use strict ;
40 Can't use string ("A::Really::Big::Package::Name::T"...) as a symbol ref while "strict refs" in use…
43 # strict refs - error
44 use strict ;
48 Can't use string ("A::Really::Big::Package::Name::T"...) as a symbol ref while "strict refs" in use…
51 # strict refs - error
52 use strict ;
56 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 5.
59 # strict refs - error
60 use strict 'refs' ;
64 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 5.
67 # strict refs - error
68 use strict 'refs' ;
73 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 6.
76 # strict refs - error
77 use strict 'refs' ;
84 # strict refs - error
85 use strict 'refs' ;
92 # strict refs - error
93 use strict 'refs' ;
100 # strict refs - error
101 use strict 'refs' ;
108 # strict refs - error
109 use strict 'refs' ;
112 Can't use bareword ("fred") as an ARRAY ref while "strict refs" in use at - line 4.
115 # strict refs - error
116 use strict 'refs' ;
119 Can't use bareword ("fred") as a HASH ref while "strict refs" in use at - line 4.
122 # strict refs - no error
123 use strict ;
124 no strict 'refs' ;
128 use strict 'refs' ;
133 # strict refs - no error
134 use strict qw(subs vars) ;
138 use strict 'refs' ;
143 # strict refs - no error
147 use strict 'refs' ;
152 # strict refs - no error
153 use strict 'refs' ;
161 # Check runtime scope of strict refs pragma
162 use strict 'refs';
166 no strict ;
171 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 10.
174 # Check runtime scope of strict refs pragma
175 no strict ;
179 use strict 'refs' ;
184 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 8.
187 # Check runtime scope of strict refs pragma
188 no strict ;
192 use strict 'refs' ;
197 Can't use string ("fred") as a SCALAR ref while "strict refs" in use at - line 8.
205 use strict 'refs' ;
212 use strict 'refs' ;
222 use strict 'refs' ;
229 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at ./abc line 2.
234 use strict 'refs' ;
241 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at abc.pm line 2.
247 no strict ;
258 no strict ;
260 use strict 'refs' ;
266 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at - line 6.
270 use strict 'refs' ;
276 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at - line 5.
280 use strict 'refs' ;
282 no strict ;
288 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at - line 9.
292 no strict ;
302 no strict ;
304 use strict 'refs' ;
308 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at (eval 1) line 3.
312 use strict 'refs' ;
317 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at (eval 1) line 2.
321 use strict 'refs' ;
323 no strict ;
328 Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at - line 8.
331 use strict 'refs';
334 Can't use string ("foo") as a SCALAR ref while "strict refs" in use at - line 3.
336 # [perl #37886] strict 'refs' doesn't apply inside defined
337 use strict 'refs';
341 Can't use string ("foo") as a SCALAR ref while "strict refs" in use at - line 4.
344 use strict 'refs';
347 Can't use string ("1") as a HASH ref while "strict refs" in use at - line 3.
350 use strict 'refs';
355 Can't use string ("F") as a subroutine ref while "strict refs" in use at - line 5.