5 # lint: check compile time $^W is zapped
9 close STDIN ; print STDIN "abc" ;
11 Reversed += operator at - line 5.
12 print() on closed filehandle STDIN at - line 6.
15 # lint: check runtime $^W is zapped
17 close STDIN ; print STDIN "abc" ;
19 print() on closed filehandle STDIN at - line 4.
22 # lint: check runtime $^W is zapped
25 close STDIN ; print STDIN "abc" ;
28 print() on closed filehandle STDIN at - line 5.
31 # lint: check "no warnings" is zapped
35 close STDIN ; print STDIN "abc" ;
37 Reversed += operator at - line 5.
38 print() on closed filehandle STDIN at - line 6.
41 # lint: check "no warnings" is zapped
44 close STDIN ; print STDIN "abc" ;
47 print() on closed filehandle STDIN at - line 5.
50 # lint: check combination of -w and -W
53 close STDIN ; print STDIN "abc" ;
56 print() on closed filehandle STDIN at - line 5.
60 no warnings 'syntax' ;
65 no warnings 'uninitialized' ;
69 Reversed += operator at abc.pm line 3.
70 Use of uninitialized value in scalar chop at - line 3.
74 no warnings 'syntax' ;
79 no warnings 'uninitialized' ;
83 Reversed += operator at ./abc line 3.
84 Use of uninitialized value in scalar chop at - line 3.
97 Reversed += operator at abc.pm line 3.
98 Use of uninitialized value in scalar chop at - line 3.
111 Reversed += operator at ./abc line 3.
112 Use of uninitialized value in scalar chop at - line 3.
115 # Check scope of pragma with eval
124 Use of uninitialized value in scalar chop at (eval 1) line 2.
125 Use of uninitialized value in scalar chop at - line 8.
128 # Check scope of pragma with eval
133 use warnings 'uninitialized' ;
139 Use of uninitialized value in scalar chop at (eval 1) line 3.
140 Use of uninitialized value in scalar chop at - line 10.
143 # Check scope of pragma with eval
146 use warnings 'uninitialized' ;
153 Use of uninitialized value in scalar chop at (eval 1) line 2.
154 Use of uninitialized value in scalar chop at - line 9.
157 # Check scope of pragma with eval
160 use warnings 'uninitialized' ;
168 Use of uninitialized value in scalar chop at (eval 1) line 3.
169 Use of uninitialized value in scalar chop at - line 10.
172 # Check scope of pragma with eval
175 my $a = "1"; my $b = "2";
178 use warnings 'syntax' ;
184 Reversed += operator at - line 11.
185 Reversed += operator at (eval 1) line 3.
188 # Check scope of pragma with eval
191 my $a = "1"; my $b = "2";
192 use warnings 'syntax' ;
199 Reversed += operator at - line 10.
200 Reversed += operator at (eval 1) line 2.
203 # Check scope of pragma with eval
206 my $a = "1"; my $b = "2";
207 use warnings 'syntax' ;
215 Reversed += operator at - line 11.
216 Reversed += operator at (eval 1) line 3.