3 we seem to have lost a few ambiguous warnings!!
7 Use of comma-less variable list is deprecated
8 (called 3 times via depcom)
10 \1 better written as $1
11 use warnings 'syntax' ;
15 Semicolon seems to be missing
32 Multidimensional syntax %.*s not supported
35 You need to quote \"%s\""
36 sub fred {} ; $SIG{TERM} = fred;
38 Scalar value %.*s better written as $%.*s"
42 Can't use \\%c to mean $%c in expression
43 $_ = "ab" ; s/(ab)/\1/e;
45 Unquoted string "abc" may clash with future reserved word at - line 3.
49 Possible attempt to separate words with commas
52 Possible attempt to put comments in qw() list
55 %s (...) interpreted as function
60 Ambiguous use of %c{%s%s} resolved to %c%s%s
65 Ambiguous use of %c{%s} resolved to %c%s
67 sub fred {} $a = ${fred}
73 Bareword \"%s\" refers to nonexistent package
76 Ambiguous call resolved as CORE::%s(), qualify as such or use &
80 Unrecognized escape \\%c passed through
83 %s number > %s non-portable
84 my $a = 0b011111111111111111111111111111110 ;
85 $a = 0b011111111111111111111111111111111 ;
86 $a = 0b111111111111111111111111111111111 ;
94 Integer overflow in binary number
95 my $a = 0b011111111111111111111111111111110 ;
96 $a = 0b011111111111111111111111111111111 ;
97 $a = 0b111111111111111111111111111111111 ;
105 dump() better written as CORE::dump()
107 Use of /c modifier is meaningless without /g
109 Use of /c modifier is meaningless in s///
113 Use of "%s" without parentheses is ambiguous [check_uni]
116 Ambiguous use of -%s resolved as -&%s() [yylex]
117 sub fred {} ; - fred ;
119 Precedence problem: open %.*s should be open(%.*s) [yylex]
122 Operator or semicolon missing before %c%s [yylex]
123 Ambiguous use of %c resolved as operator %c
128 use warnings 'deprecated' ;
133 no warnings 'deprecated' ;
139 Use of comma-less variable list is deprecated at - line 5.
140 Use of comma-less variable list is deprecated at - line 5.
141 Use of comma-less variable list is deprecated at - line 5.
144 use warnings 'deprecated' ;
147 no warnings 'deprecated' ;
151 Use of bare << to mean <<"" is deprecated at - line 3.
154 use warnings 'syntax' ;
156 no warnings 'syntax' ;
159 \1 better written as $1 at - line 3.
162 use warnings 'semicolon' ;
165 no warnings 'semicolon' ;
169 Semicolon seems to be missing at - line 3.
172 use warnings 'syntax' ;
184 Reversed += operator at - line 3.
185 Reversed -= operator at - line 4.
186 Reversed *= operator at - line 5.
187 Reversed %= operator at - line 6.
188 Reversed &= operator at - line 7.
189 Reversed .= operator at - line 8.
190 Reversed ^= operator at - line 9.
191 Reversed |= operator at - line 10.
192 Reversed <= operator at - line 11.
193 syntax error at - line 8, near "=."
194 syntax error at - line 9, near "=^"
195 syntax error at - line 10, near "=|"
196 Unterminated <> operator at - line 11.
199 no warnings 'syntax' ;
211 syntax error at - line 8, near "=."
212 syntax error at - line 9, near "=^"
213 syntax error at - line 10, near "=|"
214 Unterminated <> operator at - line 11.
217 use warnings 'syntax' ;
219 no warnings 'syntax' ;
222 Multidimensional syntax $a[1,2] not supported at - line 3.
225 use warnings 'syntax' ;
226 sub fred {} ; $SIG{TERM} = fred;
227 no warnings 'syntax' ;
230 You need to quote "fred" at - line 3.
233 use warnings 'syntax' ;
236 no warnings 'syntax' ;
240 Scalar value @a[3] better written as $a[3] at - line 3.
241 Scalar value @a{3} better written as $a{3} at - line 4.
244 use warnings 'syntax' ;
247 no warnings 'syntax' ;
251 Can't use \1 to mean $1 in expression at - line 4.
254 use warnings 'reserved' ;
259 no warnings 'reserved' ;
262 Unquoted string "abc" may clash with future reserved word at - line 3.
270 Possible attempt to separate words with commas at - line 3.
278 Possible attempt to put comments in qw() list at - line 3.
281 use warnings 'syntax' ;
284 print (...) interpreted as function at - line 3.
287 no warnings 'syntax' ;
293 use warnings 'syntax' ;
296 printf (...) interpreted as function at - line 3.
299 no warnings 'syntax' ;
305 use warnings 'syntax' ;
308 sort (...) interpreted as function at - line 3.
311 no warnings 'syntax' ;
317 use warnings 'ambiguous' ;
319 no warnings 'ambiguous' ;
322 Ambiguous use of ${time[...]} resolved to $time[...] at - line 3.
325 use warnings 'ambiguous' ;
328 Ambiguous use of ${time{...}} resolved to $time{...} at - line 3.
331 no warnings 'ambiguous' ;
337 use warnings 'ambiguous' ;
339 no warnings 'ambiguous' ;
342 Ambiguous use of ${time} resolved to $time at - line 3.
345 use warnings 'ambiguous' ;
348 no warnings 'ambiguous' ;
351 Ambiguous use of ${fred} resolved to $fred at - line 4.
354 use warnings 'syntax' ;
355 $a = _123; print "$a\n"; #( 3 string)
356 $a = 1_23; print "$a\n";
357 $a = 12_3; print "$a\n";
358 $a = 123_; print "$a\n"; # 6
359 $a = _+123; print "$a\n"; # 7 string)
360 $a = +_123; print "$a\n"; #( 8 string)
361 $a = +1_23; print "$a\n";
362 $a = +12_3; print "$a\n";
363 $a = +123_; print "$a\n"; # 11
364 $a = _-123; print "$a\n"; #(12 string)
365 $a = -_123; print "$a\n"; #(13 string)
366 $a = -1_23; print "$a\n";
367 $a = -12_3; print "$a\n";
368 $a = -123_; print "$a\n"; # 16
369 $a = 123._456; print "$a\n"; # 17
370 $a = 123.4_56; print "$a\n";
371 $a = 123.45_6; print "$a\n";
372 $a = 123.456_; print "$a\n"; # 20
373 $a = +123._456; print "$a\n"; # 21
374 $a = +123.4_56; print "$a\n";
375 $a = +123.45_6; print "$a\n";
376 $a = +123.456_; print "$a\n"; # 24
377 $a = -123._456; print "$a\n"; # 25
378 $a = -123.4_56; print "$a\n";
379 $a = -123.45_6; print "$a\n";
380 $a = -123.456_; print "$a\n"; # 28
381 $a = 123.456E_12; printf("%.0f\n", $a); # 29
382 $a = 123.456E1_2; printf("%.0f\n", $a);
383 $a = 123.456E12_; printf("%.0f\n", $a); # 31
384 $a = 123.456E_+12; printf("%.0f\n", $a); # 32
385 $a = 123.456E+_12; printf("%.0f\n", $a); # 33
386 $a = 123.456E+1_2; printf("%.0f\n", $a);
387 $a = 123.456E+12_; printf("%.0f\n", $a); # 35
388 $a = 123.456E_-12; print "$a\n"; # 36
389 $a = 123.456E-_12; print "$a\n"; # 37
390 $a = 123.456E-1_2; print "$a\n";
391 $a = 123.456E-12_; print "$a\n"; # 39
392 $a = 1__23; print "$a\n"; # 40
393 $a = 12.3__4; print "$a\n"; # 41
394 $a = 12.34e1__2; printf("%.0f\n", $a); # 42
395 no warnings 'syntax' ;
396 $a = _123; print "$a\n";
397 $a = 1_23; print "$a\n";
398 $a = 12_3; print "$a\n";
399 $a = 123_; print "$a\n";
400 $a = _+123; print "$a\n";
401 $a = +_123; print "$a\n";
402 $a = +1_23; print "$a\n";
403 $a = +12_3; print "$a\n";
404 $a = +123_; print "$a\n";
405 $a = _-123; print "$a\n";
406 $a = -_123; print "$a\n";
407 $a = -1_23; print "$a\n";
408 $a = -12_3; print "$a\n";
409 $a = -123_; print "$a\n";
410 $a = 123._456; print "$a\n";
411 $a = 123.4_56; print "$a\n";
412 $a = 123.45_6; print "$a\n";
413 $a = 123.456_; print "$a\n";
414 $a = +123._456; print "$a\n";
415 $a = +123.4_56; print "$a\n";
416 $a = +123.45_6; print "$a\n";
417 $a = +123.456_; print "$a\n";
418 $a = -123._456; print "$a\n";
419 $a = -123.4_56; print "$a\n";
420 $a = -123.45_6; print "$a\n";
421 $a = -123.456_; print "$a\n";
422 $a = 123.456E_12; printf("%.0f\n", $a);
423 $a = 123.456E1_2; printf("%.0f\n", $a);
424 $a = 123.456E12_; printf("%.0f\n", $a);
425 $a = 123.456E_+12; printf("%.0f\n", $a);
426 $a = 123.456E+_12; printf("%.0f\n", $a);
427 $a = 123.456E+1_2; printf("%.0f\n", $a);
428 $a = 123.456E+12_; printf("%.0f\n", $a);
429 $a = 123.456E_-12; print "$a\n";
430 $a = 123.456E-_12; print "$a\n";
431 $a = 123.456E-1_2; print "$a\n";
432 $a = 123.456E-12_; print "$a\n";
433 $a = 1__23; print "$a\n";
434 $a = 12.3__4; print "$a\n";
435 $a = 12.34e1__2; printf("%.0f\n", $a);
438 Misplaced _ in number at - line 6.
439 Misplaced _ in number at - line 11.
440 Misplaced _ in number at - line 16.
441 Misplaced _ in number at - line 17.
442 Misplaced _ in number at - line 20.
443 Misplaced _ in number at - line 21.
444 Misplaced _ in number at - line 24.
445 Misplaced _ in number at - line 25.
446 Misplaced _ in number at - line 28.
447 Misplaced _ in number at - line 29.
448 Misplaced _ in number at - line 31.
449 Misplaced _ in number at - line 32.
450 Misplaced _ in number at - line 33.
451 Misplaced _ in number at - line 35.
452 Misplaced _ in number at - line 36.
453 Misplaced _ in number at - line 37.
454 Misplaced _ in number at - line 39.
455 Misplaced _ in number at - line 40.
456 Misplaced _ in number at - line 41.
457 Misplaced _ in number at - line 42.
540 use warnings 'bareword' ;
543 no warnings 'bareword' ;
547 Bareword "FRED::" refers to nonexistent package at bar line 25.
550 use warnings 'ambiguous' ;
553 no warnings 'ambiguous' ;
556 Ambiguous call resolved as CORE::time(), qualify as such or use & at - line 4.
573 Warning: Use of "rand" without parens is ambiguous at - line 2.
579 no warnings 'ambiguous' ;
581 use warnings 'ambiguous' ;
586 Warning: Use of "rand" without parens is ambiguous at - line 3.
587 Warning: Use of "rand" without parens is ambiguous at - line 8.
588 Warning: Use of "rand" without parens is ambiguous at - line 10.
594 Ambiguous use of -fred resolved as -&fred() at - line 3.
601 no warnings 'ambiguous' ;
603 use warnings 'ambiguous' ;
608 Ambiguous use of -fred resolved as -&fred() at - line 4.
609 Ambiguous use of -fred resolved as -&fred() at - line 9.
610 Ambiguous use of -fred resolved as -&fred() at - line 11.
615 Precedence problem: open FOO should be open(FOO) at - line 2.
617 # toke.c (and [perl #16184])
618 open FOO => "<&0"; close FOO;
625 no warnings 'precedence' ;
627 use warnings 'precedence' ;
632 Precedence problem: open FOO should be open(FOO) at - line 3.
633 Precedence problem: open FOO should be open(FOO) at - line 8.
634 Precedence problem: open FOO should be open(FOO) at - line 10.
640 no warnings 'ambiguous' ;
642 use warnings 'ambiguous' ;
647 Operator or semicolon missing before *foo at - line 3.
648 Ambiguous use of * resolved as operator * at - line 3.
649 Operator or semicolon missing before *foo at - line 8.
650 Ambiguous use of * resolved as operator * at - line 8.
651 Operator or semicolon missing before *foo at - line 10.
652 Ambiguous use of * resolved as operator * at - line 10.
655 use warnings 'misc' ;
660 Unrecognized escape \m passed through at - line 3.
663 use warnings 'portable' ;
664 my $a = 0b011111111111111111111111111111110 ;
665 $a = 0b011111111111111111111111111111111 ;
666 $a = 0b111111111111111111111111111111111 ;
673 no warnings 'portable' ;
674 $a = 0b011111111111111111111111111111110 ;
675 $a = 0b011111111111111111111111111111111 ;
676 $a = 0b111111111111111111111111111111111 ;
684 Binary number > 0b11111111111111111111111111111111 non-portable at - line 5.
685 Hexadecimal number > 0xffffffff non-portable at - line 8.
686 Octal number > 037777777777 non-portable at - line 11.
689 use warnings 'overflow' ;
690 my $a = 0b011111111111111111111111111111110 ;
691 $a = 0b011111111111111111111111111111111 ;
692 $a = 0b10000000000000000000000000000000000000000000000000000000000000000 ;
695 $a = 0x10000000000000000 ;
698 $a = 002000000000000000000000;
699 no warnings 'overflow' ;
700 $a = 0b011111111111111111111111111111110 ;
701 $a = 0b011111111111111111111111111111111 ;
702 $a = 0b10000000000000000000000000000000000000000000000000000000000000000 ;
705 $a = 0x10000000000000000 ;
708 $a = 002000000000000000000000;
710 Integer overflow in binary number at - line 5.
711 Integer overflow in hexadecimal number at - line 8.
712 Integer overflow in octal number at - line 11.
720 dump() better written as CORE::dump() at - line 4.
726 sub dump { print "no warning for overriden dump\n"; }
729 no warning for overriden dump
732 use warnings 'ambiguous';
733 "@mjd_previously_unused_array";
734 no warnings 'ambiguous';
735 "@mjd_previously_unused_array";
737 Possible unintended interpolation of @mjd_previously_unused_array in string at - line 3.
740 # The \q should warn, the \_ should NOT warn.
748 Unrecognized escape \q passed through at - line 4.
751 # 20020328 mjd-perl-patch+@plover.com at behest of jfriedl@yahoo.com
752 use warnings 'regexp';
755 no warnings 'regexp';
759 Use of /c modifier is meaningless without /g at - line 4.
762 # 20020328 mjd-perl-patch+@plover.com at behest of jfriedl@yahoo.com
763 use warnings 'regexp';
767 no warnings 'regexp';
771 Use of /c modifier is meaningless in s/// at - line 5.
772 Use of /c modifier is meaningless in s/// at - line 6.
776 # 20020414 mjd-perl-patch+@plover.com # -a flag should suppress these warnings
783 # 20020414 mjd-perl-patch+@plover.com # -a flag should suppress these warnings
786 Possible unintended interpolation of @F in string at - line 4.
787 Name "main::F" used only once: possible typo at - line 4.
791 # 20020414 mjd-perl-patch+@plover.com
796 # 20020414 mjd-perl-patch+@plover.com
797 # In 5.7.3, this emitted "Possible unintended interpolation" warnings
798 use warnings 'ambiguous';