29 Subroutine %s redefined
31 Invalid conversion in %s:
33 Undefined value assigned to typeglob
35 Reference is already weak [Perl_sv_rvweaken] <<TODO
37 vector argument not supported with alpha versions
41 Malformed UTF-8 character [sv_pos_b2u] (not tested: difficult to produce
44 Mandatory Warnings TODO
46 Attempt to free non-arena SV: 0x%lx [del_sv]
47 Reference miscount in sv_replace() [sv_replace]
48 Attempt to free unreferenced scalar [sv_free]
49 Attempt to free temp prematurely: SV 0x%lx [sv_free]
50 semi-panic: attempt to dup freed string [newSVsv]
56 use warnings 'uninitialized' ;
58 no warnings 'uninitialized' ;
61 Use of uninitialized value $a[0] in integer addition (+) at - line 4.
65 sub TIESCALAR { my $x ; bless \$x}
66 sub FETCH { return undef }
67 sub STORE { return 1 }
71 use warnings 'uninitialized' ;
73 no warnings 'uninitialized' ;
76 Use of uninitialized value $A in integer multiplication (*) at - line 10.
80 use warnings 'uninitialized' ;
82 no warnings 'uninitialized' ;
85 Use of uninitialized value $x in integer multiplication (*) at - line 4.
89 sub TIESCALAR { my $x ; bless \$x}
90 sub FETCH { return undef }
91 sub STORE { return 1 }
94 use warnings 'uninitialized' ;
97 no warnings 'uninitialized' ;
101 Use of uninitialized value $A in bitwise or (|) at - line 10.
104 use warnings 'uninitialized' ;
107 no warnings 'uninitialized' ;
111 Use of uninitialized value within @a in bitwise or (|) at - line 4.
114 use warnings 'uninitialized' ;
117 no warnings 'uninitialized' ;
121 Use of uninitialized value within @a in bitwise and (&) at - line 4.
124 use warnings 'uninitialized' ;
127 no warnings 'uninitialized' ;
131 Use of uninitialized value within @a in 1's complement (~) at - line 4.
134 use warnings 'uninitialized' ;
136 no warnings 'uninitialized' ;
139 Use of uninitialized value $x in multiplication (*) at - line 3.
142 use warnings 'uninitialized' ;
144 no warnings 'uninitialized' ;
147 Use of uninitialized value $a[0] in addition (+) at - line 3.
151 sub TIESCALAR { my $x ; bless \$x}
152 sub FETCH { return undef }
153 sub STORE { return 1 }
156 use warnings 'uninitialized' ;
158 no warnings 'uninitialized' ;
161 Use of uninitialized value $A in multiplication (*) at - line 9.
164 use warnings 'uninitialized' ;
166 no warnings 'uninitialized' ;
169 Use of uninitialized value $y in addition (+) at - line 3.
172 use warnings 'uninitialized' ;
173 $x = chop undef ; # g
174 no warnings 'uninitialized' ;
175 $x = chop undef ; # g
177 Modification of a read-only value attempted at - line 3.
180 use warnings 'uninitialized' ;
182 no warnings 'uninitialized' ;
185 Use of uninitialized value $y in scalar chop at - line 3.
189 sub TIESCALAR { my $x ; bless \$x}
190 sub FETCH { return undef }
191 sub STORE { return 1 }
194 use warnings 'uninitialized' ;
197 no warnings 'uninitialized' ;
201 Use of uninitialized value $A in concatenation (.) or string at - line 10.
203 # perlbug 20011116.125 (#7917)
204 use warnings 'uninitialized';
206 $foo = join '', $a, "\n";
210 Use of uninitialized value $a in join or string at - line 4.
211 Use of uninitialized value $a in concatenation (.) or string at - line 5.
212 Use of uninitialized value $a in concatenation (.) or string at - line 6.
215 use warnings 'numeric' ;
216 sub TIESCALAR{bless[]} ;
220 no warnings 'numeric' ;
223 Argument "def" isn't numeric in addition (+) at - line 6.
226 use warnings 'numeric' ;
228 no warnings 'numeric' ;
231 Argument "def" isn't numeric in addition (+) at - line 3.
234 use warnings 'numeric' ;
237 no warnings 'numeric' ;
240 Argument "def" isn't numeric in addition (+) at - line 4.
243 use warnings 'numeric' ; use integer ;
246 no warnings 'numeric' ;
249 Argument "def" isn't numeric in integer addition (+) at - line 4.
252 use warnings 'numeric' ;
254 no warnings 'numeric' ;
257 Argument "def" isn't numeric in bitwise and (&) at - line 3.
260 use warnings 'numeric' ;
261 my $x = pack i => "def" ;
262 no warnings 'numeric' ;
263 my $z = pack i => "def" ;
265 Argument "def" isn't numeric in pack at - line 3.
268 use warnings 'numeric' ;
271 no warnings 'numeric' ;
274 Argument "d\0f" isn't numeric in addition (+) at - line 4.
277 use warnings 'redefine' ;
281 no warnings 'redefine' ;
285 Subroutine main::fred redefined at - line 5.
288 use warnings 'printf' ;
289 open F, ">".($^O eq 'VMS'? 'NL:' : '/dev/null') ;
291 my $a = sprintf "%y" ;
295 $a = sprintf "%\x02" ;
297 $a = sprintf "%lly" ;
299 $a = sprintf "%25lly" ;
301 $a = sprintf "%+2Ly" ;
303 $a = sprintf "%+2ll" ;
304 printf F "%+2L\x03" ;
305 $a = sprintf "%+2L\x03" ;
306 no warnings 'printf' ;
312 $a = sprintf "%\x02" ;
314 $a = sprintf "%lly" ;
316 $a = sprintf "%25lly" ;
318 $a = sprintf "%+2Ly" ;
320 $a = sprintf "%+2ll" ;
321 printf F "%+2L\x03" ;
322 $a = sprintf "%+2L\x03" ;
324 Invalid conversion in printf: "%y" at - line 4.
325 Invalid conversion in sprintf: "%y" at - line 5.
326 Invalid conversion in printf: end of string at - line 6.
327 Invalid conversion in sprintf: end of string at - line 7.
328 Invalid conversion in printf: "%\002" at - line 8.
329 Invalid conversion in sprintf: "%\002" at - line 9.
330 Invalid conversion in printf: "%lly" at - line 10.
331 Invalid conversion in sprintf: "%lly" at - line 11.
332 Invalid conversion in printf: "%25lly" at - line 12.
333 Invalid conversion in sprintf: "%25lly" at - line 13.
334 Invalid conversion in printf: "%+2Ly" at - line 14.
335 Invalid conversion in sprintf: "%+2Ly" at - line 15.
336 Invalid conversion in printf: "%+2ll" at - line 16.
337 Invalid conversion in sprintf: "%+2ll" at - line 17.
338 Invalid conversion in printf: "%+2L\003" at - line 18.
339 Invalid conversion in sprintf: "%+2L\003" at - line 19.
342 use warnings 'misc' ;
349 Undefined value assigned to typeglob at - line 3.
350 Undefined value assigned to typeglob at - line 4.
353 use warnings 'numeric' ;
354 $a = "\x{100}\x{200}" * 42;
355 no warnings 'numeric' ;
356 $a = "\x{100}\x{200}" * 42;
358 Argument "\x{100}\x{200}" isn't numeric in multiplication (*) at - line 3.
361 use warnings 'numeric' ;
362 $a = "\x{100}\x{200}"; $a = -$a;
363 no warnings 'numeric' ;
364 $a = "\x{100}\x{200}"; $a = -$a;
366 Argument "\x{100}\x{200}" isn't numeric in negation (-) at - line 3.
369 use warnings 'numeric' ;
370 $a = "\x{100}\x{1000}" x 10; $b = $a < 1;
371 no warnings 'numeric' ;
372 $a = "\x{100}\x{1000}" x 10; $b = $a < 1;
374 Argument "\x{100}\x{1000}\x{100}\x{1000}\x{100}..." isn't numeric in numeric lt (<) at - line 3.
377 use warnings 'redefine' ;
379 use open qw( :utf8 :std );
383 no warnings 'redefine' ;
387 Subroutine main::frèd redefined at - line 7.
390 use warnings 'redefine' ;
392 use open qw( :utf8 :std );
396 no warnings 'redefine' ;
400 Subroutine main::f렏 redefined at - line 7.
405 use warnings "numeric";
407 $x = ${ qr/abc/ }; ++$x;
410 $x = 0; ++$x; # none of these should warn
415 Argument "a_c" isn't numeric in preincrement (++) at - line 5.
416 Argument "(?^:abc)" isn't numeric in preincrement (++) at - line 6.
417 Argument "123x" isn't numeric in preincrement (++) at - line 7.
418 Argument "123e" isn't numeric in preincrement (++) at - line 8.
420 # RT #128257 This used to SEGV
426 Subroutine f redefined at - line 5.