3 Found = in conditional, should be ==
6 Use of implicit split to @_ is deprecated
9 Use of implicit split to @_ is deprecated
12 Useless use of time in void context
13 Useless use of a variable in void context
14 Useless use of a constant in void context
19 Useless use of sort in scalar context
22 Applying %s to %s will act on scalar(%s)
23 my $a ; my @a = () ; my %a = () ; my $b = \@a ; my $c = \%a ;
38 Parentheses missing around "my" list at -e line 1.
41 Parentheses missing around "local" list at -e line 1.
44 Bareword found in conditional at -e line 1.
45 use warnings 'bareword'; my $x = print(ABC || 1);
47 Value of %s may be \"0\"; use \"defined\"
49 $x = 1 while $x = <FH> ;
51 Subroutine fred redefined at -e line 1.
52 sub fred{1;} sub fred{1;}
54 Constant subroutine %s redefined
55 sub fred() {1;} sub fred() {1;}
57 Format FRED redefined at /tmp/x line 5.
63 Array @%s missing the @ in argument %d of %s()
66 Hash %%%s missing the %% in argument %d of %s()
69 Statement unlikely to be reached
70 (Maybe you meant system() when you said exec()?
73 defined(@array) is deprecated
74 (Maybe you should just omit the defined()?)
76 defined (@a = (1,2,3)) ;
78 defined(%hash) is deprecated
79 (Maybe you should just omit the defined()?)
82 /---/ should probably be written as "---"
85 %s() called too early to check prototype [Perl_peep]
86 fred() ; sub fred ($$) {}
89 Package `%s' not found (did you use the incorrect case?)
91 Use of /g modifier is meaningless in split
93 Possible precedence problem on bitwise %c operator [Perl_ck_bitop]
97 Prototype mismatch: [cv_ckproto]
101 Runaway prototype [newSUB] TODO
102 oops: oopsAV [oopsAV] TODO
103 oops: oopsHV [oopsHV] TODO
107 use warnings 'syntax' ;
109 no warnings 'syntax' ;
112 Found = in conditional, should be == at - line 3.
115 use warnings 'deprecated' ;
117 no warnings 'deprecated' ;
120 Use of implicit split to @_ is deprecated at - line 3.
123 use warnings 'deprecated' ;
125 no warnings 'deprecated' ;
128 Use of implicit split to @_ is deprecated at - line 3.
131 use warnings 'deprecated';
137 $main::foo = {}; %$main::foo->{"bar"};
138 $foo = {}; %$foo->{"bar"};
139 $main::foo = []; @$main::foo->[34];
140 $foo = []; @$foo->[34];
141 no warnings 'deprecated';
146 $main::foo = {}; %$main::foo->{"bar"};
147 $foo = {}; %$foo->{"bar"};
148 $main::foo = []; @$main::foo->[34];
149 $foo = []; @$foo->[34];
151 Using a hash as a reference is deprecated at - line 4.
152 Using a hash as a reference is deprecated at - line 5.
153 Using an array as a reference is deprecated at - line 6.
154 Using an array as a reference is deprecated at - line 7.
155 Using a hash as a reference is deprecated at - line 8.
156 Using a hash as a reference is deprecated at - line 9.
157 Using an array as a reference is deprecated at - line 10.
158 Using an array as a reference is deprecated at - line 11.
161 use warnings 'void' ; close STDIN ;
164 wantarray ; # OP_WANTARRAY
174 defined $a ; # OP_DEFINED
177 length $a ; # OP_LENGTH
178 substr $a,1 ; # OP_SUBSTR
179 vec $a,1,2 ; # OP_VEC
180 index $a,1,2 ; # OP_INDEX
181 rindex $a,1,2 ; # OP_RINDEX
182 sprintf $a ; # OP_SPRINTF
186 #values %a ; # OP_VALUES
190 unpack "a", "a" ; # OP_UNPACK
191 pack $a,"" ; # OP_PACK
193 (@a)[0,1] ; # OP_LSLICE
196 sort(1,2) ; # OP_SORT
197 reverse(1,2) ; # OP_REVERSE
202 fileno STDIN ; # OP_FILENO
204 tell STDIN ; # OP_TELL
205 readlink 1; # OP_READLINK
207 localtime ; # OP_LOCALTIME
209 eval { getgrnam 1 }; # OP_GGRNAM
210 eval { getgrgid 1 }; # OP_GGRGID
211 eval { getpwnam 1 }; # OP_GPWNAM
212 eval { getpwuid 1 }; # OP_GPWUID
213 prototype "foo"; # OP_PROTOTYPE
214 $a ~~ $b; # OP_SMARTMATCH
217 Useless use of repeat (x) in void context at - line 3.
218 Useless use of wantarray in void context at - line 5.
219 Useless use of reference-type operator in void context at - line 12.
220 Useless use of reference constructor in void context at - line 13.
221 Useless use of single ref constructor in void context at - line 14.
222 Useless use of defined operator in void context at - line 15.
223 Useless use of hex in void context at - line 16.
224 Useless use of oct in void context at - line 17.
225 Useless use of length in void context at - line 18.
226 Useless use of substr in void context at - line 19.
227 Useless use of vec in void context at - line 20.
228 Useless use of index in void context at - line 21.
229 Useless use of rindex in void context at - line 22.
230 Useless use of sprintf in void context at - line 23.
231 Useless use of array element in void context at - line 24.
232 Useless use of array slice in void context at - line 26.
233 Useless use of hash element in void context at - line 29.
234 Useless use of hash slice in void context at - line 30.
235 Useless use of unpack in void context at - line 31.
236 Useless use of pack in void context at - line 32.
237 Useless use of join or string in void context at - line 33.
238 Useless use of list slice in void context at - line 34.
239 Useless use of sort in void context at - line 37.
240 Useless use of reverse in void context at - line 38.
241 Useless use of range (or flop) in void context at - line 41.
242 Useless use of caller in void context at - line 42.
243 Useless use of fileno in void context at - line 43.
244 Useless use of eof in void context at - line 44.
245 Useless use of tell in void context at - line 45.
246 Useless use of readlink in void context at - line 46.
247 Useless use of time in void context at - line 47.
248 Useless use of localtime in void context at - line 48.
249 Useless use of gmtime in void context at - line 49.
250 Useless use of getgrnam in void context at - line 50.
251 Useless use of getgrgid in void context at - line 51.
252 Useless use of getpwnam in void context at - line 52.
253 Useless use of getpwuid in void context at - line 53.
254 Useless use of subroutine prototype in void context at - line 54.
255 Useless use of smart match in void context at - line 55.
256 Useless use of numeric comparison (<=>) in void context at - line 56.
259 use warnings 'void' ; close STDIN ;
260 my $x = sort (2,1,3);
264 Useless use of sort in scalar context at - line 3.
267 no warnings 'void' ; close STDIN ;
270 wantarray ; # OP_WANTARRAY
280 defined $a ; # OP_DEFINED
283 length $a ; # OP_LENGTH
284 substr $a,1 ; # OP_SUBSTR
285 vec $a,1,2 ; # OP_VEC
286 index $a,1,2 ; # OP_INDEX
287 rindex $a,1,2 ; # OP_RINDEX
288 sprintf $a ; # OP_SPRINTF
292 #values %a ; # OP_VALUES
296 unpack "a", "a" ; # OP_UNPACK
297 pack $a,"" ; # OP_PACK
299 (@a)[0,1] ; # OP_LSLICE
302 sort(1,2) ; # OP_SORT
303 reverse(1,2) ; # OP_REVERSE
308 fileno STDIN ; # OP_FILENO
310 tell STDIN ; # OP_TELL
311 readlink 1; # OP_READLINK
313 localtime ; # OP_LOCALTIME
315 eval { getgrnam 1 }; # OP_GGRNAM
316 eval { getgrgid 1 }; # OP_GGRGID
317 eval { getpwnam 1 }; # OP_GPWNAM
318 eval { getpwuid 1 }; # OP_GPWUID
319 prototype "foo"; # OP_PROTOTYPE
323 use warnings 'void' ;
324 for (@{[0]}) { "$_" } # check warning isn't duplicated
326 for (@{[0]}) { "$_" } # check warning isn't duplicated
328 Useless use of string in void context at - line 3.
331 use warnings 'void' ;
334 if ( ! $Config{d_telldir}) {
337 # telldir not present
342 telldir 1 ; # OP_TELLDIR
344 telldir 1 ; # OP_TELLDIR
346 Useless use of telldir in void context at - line 13.
349 use warnings 'void' ;
352 if ( ! $Config{d_getppid}) {
355 # getppid not present
360 getppid ; # OP_GETPPID
362 getppid ; # OP_GETPPID
364 Useless use of getppid in void context at - line 13.
367 use warnings 'void' ;
370 if ( ! $Config{d_getpgrp}) {
373 # getpgrp not present
378 getpgrp ; # OP_GETPGRP
380 getpgrp ; # OP_GETPGRP
382 Useless use of getpgrp in void context at - line 13.
385 use warnings 'void' ;
388 if ( ! $Config{d_times}) {
400 Useless use of times in void context at - line 13.
403 use warnings 'void' ;
406 if ( ! $Config{d_getprior} or $^O eq 'os2') { # Locks before fixpak22
409 # getpriority not present
414 getpriority 1,2; # OP_GETPRIORITY
416 getpriority 1,2; # OP_GETPRIORITY
418 Useless use of getpriority in void context at - line 13.
421 use warnings 'void' ;
424 if ( ! $Config{d_getlogin}) {
427 # getlogin not present
432 getlogin ; # OP_GETLOGIN
434 getlogin ; # OP_GETLOGIN
436 Useless use of getlogin in void context at - line 13.
439 use warnings 'void' ;
441 if ( ! $Config{d_socket}) {
444 # getsockname not present
445 # getpeername not present
446 # gethostbyname not present
447 # gethostbyaddr not present
448 # gethostent not present
449 # getnetbyname not present
450 # getnetbyaddr not present
451 # getnetent not present
452 # getprotobyname not present
453 # getprotobynumber not present
454 # getprotoent not present
455 # getservbyname not present
456 # getservbyport not present
457 # getservent not present
461 getsockname STDIN ; # OP_GETSOCKNAME
462 getpeername STDIN ; # OP_GETPEERNAME
463 gethostbyname 1 ; # OP_GHBYNAME
464 gethostbyaddr 1,2; # OP_GHBYADDR
465 gethostent ; # OP_GHOSTENT
466 getnetbyname 1 ; # OP_GNBYNAME
467 getnetbyaddr 1,2 ; # OP_GNBYADDR
468 getnetent ; # OP_GNETENT
469 getprotobyname 1; # OP_GPBYNAME
470 getprotobynumber 1; # OP_GPBYNUMBER
471 getprotoent ; # OP_GPROTOENT
472 getservbyname 1,2; # OP_GSBYNAME
473 getservbyport 1,2; # OP_GSBYPORT
474 getservent ; # OP_GSERVENT
477 getsockname STDIN ; # OP_GETSOCKNAME
478 getpeername STDIN ; # OP_GETPEERNAME
479 gethostbyname 1 ; # OP_GHBYNAME
480 gethostbyaddr 1,2; # OP_GHBYADDR
481 gethostent ; # OP_GHOSTENT
482 getnetbyname 1 ; # OP_GNBYNAME
483 getnetbyaddr 1,2 ; # OP_GNBYADDR
484 getnetent ; # OP_GNETENT
485 getprotobyname 1; # OP_GPBYNAME
486 getprotobynumber 1; # OP_GPBYNUMBER
487 getprotoent ; # OP_GPROTOENT
488 getservbyname 1,2; # OP_GSBYNAME
489 getservbyport 1,2; # OP_GSBYPORT
490 getservent ; # OP_GSERVENT
492 # some functions may not be there, so we exit without running
496 Useless use of getsockname in void context at - line 24.
497 Useless use of getpeername in void context at - line 25.
498 Useless use of gethostbyname in void context at - line 26.
499 Useless use of gethostbyaddr in void context at - line 27.
500 Useless use of gethostent in void context at - line 28.
501 Useless use of getnetbyname in void context at - line 29.
502 Useless use of getnetbyaddr in void context at - line 30.
503 Useless use of getnetent in void context at - line 31.
504 Useless use of getprotobyname in void context at - line 32.
505 Useless use of getprotobynumber in void context at - line 33.
506 Useless use of getprotoent in void context at - line 34.
507 Useless use of getservbyname in void context at - line 35.
508 Useless use of getservbyport in void context at - line 36.
509 Useless use of getservent in void context at - line 37.
512 use warnings 'void' ;
523 Useless use of a variable in void context at - line 3.
524 Useless use of a variable in void context at - line 4.
525 Useless use of a variable in void context at - line 5.
526 Useless use of a variable in void context at - line 6.
529 use warnings 'void' ;
532 "x" . "y"; # optimized to OP_CONST
533 2 + 2; # optimized to OP_CONST
534 use constant U => undef;
536 5 || print "bad\n"; # test OPpCONST_SHORTCIRCUIT
537 print "boo\n" if U; # test OPpCONST_SHORTCIRCUIT
538 $[ = 2; # should not warn
542 "x" . "y"; # optimized to OP_CONST
543 2 + 2; # optimized to OP_CONST
545 Useless use of a constant (abc) in void context at - line 3.
546 Useless use of a constant (7) in void context at - line 4.
547 Useless use of a constant (xy) in void context at - line 5.
548 Useless use of a constant (4) in void context at - line 6.
549 Useless use of a constant (undef) in void context at - line 8.
553 use warnings 'misc' ;
554 my $a ; my @a = () ; my %a = () ; my $b = \@a ; my $c = \%a ;my $d = 'test';
571 my $a ; my @a = () ; my %a = () ; my $b = \@a ; my $c = \%a ; my $d = 'test';
588 Applying pattern match (m//) to @array will act on scalar(@array) at - line 5.
589 Applying substitution (s///) to @array will act on scalar(@array) at - line 6.
590 Applying transliteration (tr///) to @array will act on scalar(@array) at - line 7.
591 Applying pattern match (m//) to @array will act on scalar(@array) at - line 8.
592 Applying substitution (s///) to @array will act on scalar(@array) at - line 9.
593 Applying transliteration (tr///) to @array will act on scalar(@array) at - line 10.
594 Applying pattern match (m//) to %hash will act on scalar(%hash) at - line 11.
595 Applying substitution (s///) to %hash will act on scalar(%hash) at - line 12.
596 Applying transliteration (tr///) to %hash will act on scalar(%hash) at - line 13.
597 Applying pattern match (m//) to %hash will act on scalar(%hash) at - line 14.
598 Applying substitution (s///) to %hash will act on scalar(%hash) at - line 15.
599 Applying transliteration (tr///) to %hash will act on scalar(%hash) at - line 16.
600 Useless use of /d modifier in transliteration operator at - line 17.
601 Replacement list is longer than search list at - line 18.
602 Can't modify private array in substitution (s///) at - line 6, near "s/a/b/ ;"
603 BEGIN not safe after errors--compilation aborted at - line 20.
606 use warnings 'parenthesis' ;
608 my @foo,%bar, $quux; # there's a TAB here
610 no warnings 'parenthesis' ;
613 Parentheses missing around "my" list at - line 3.
614 Parentheses missing around "my" list at - line 4.
617 use warnings 'parenthesis' ;
619 no warnings 'parenthesis' ;
622 Parentheses missing around "our" list at - line 3.
625 use warnings 'parenthesis' ;
626 local $a, $b = (1,2);
628 no warnings 'parenthesis' ;
629 local $c, $d = (1,2);
631 Parentheses missing around "local" list at - line 3.
632 Parentheses missing around "local" list at - line 4.
635 use warnings 'bareword' ;
637 no warnings 'bareword' ;
640 Bareword found in conditional at - line 3.
646 use warnings 'misc' ;
648 $x = 1 if $x = <FH> ;
650 $x = 1 if $x = <FH> ;
652 Value of <HANDLE> construct can be "0"; test with defined() at - line 4.
655 use warnings 'misc' ;
657 $x = 1 if $x = readdir FH ;
659 $x = 1 if $x = readdir FH ;
662 Value of readdir() operator can be "0"; test with defined() at - line 4.
665 use warnings 'misc' ;
670 Value of glob construct can be "0"; test with defined() at - line 3.
673 use warnings 'misc' ;
675 $x = 1 if $x = each %a ;
677 $x = 1 if $x = each %a ;
679 Value of each() operator can be "0"; test with defined() at - line 4.
682 use warnings 'misc' ;
683 $x = 1 while $x = <*> and 0 ;
685 $x = 1 while $x = <*> and 0 ;
687 Value of glob construct can be "0"; test with defined() at - line 3.
690 use warnings 'misc' ;
692 $x = 1 while $x = readdir FH and 0 ;
694 $x = 1 while $x = readdir FH and 0 ;
697 Value of readdir() operator can be "0"; test with defined() at - line 4.
702 ($_ = <FH>) // ($_ = 1);
708 use warnings 'redefine' ;
711 no warnings 'redefine' ;
714 Subroutine fred redefined at - line 4.
717 use warnings 'redefine' ;
720 no warnings 'redefine' ;
723 Constant subroutine fred redefined at - line 4.
726 no warnings 'redefine' ;
730 Constant subroutine fred redefined at - line 4.
733 no warnings 'redefine' ;
735 *fred = sub () { 2 };
737 Constant subroutine main::fred redefined at - line 4.
740 use warnings 'redefine' ;
745 no warnings 'redefine' ;
749 Format FRED redefined at - line 5.
752 use warnings 'deprecated' ;
754 no warnings 'deprecated' ;
757 Array @FRED missing the @ in argument 1 of push() at - line 3.
760 use warnings 'deprecated' ;
762 no warnings 'deprecated' ;
765 Hash %FRED missing the % in argument 1 of keys() at - line 3.
768 use warnings 'syntax' ;
772 Statement unlikely to be reached at - line 4.
773 (Maybe you meant system() when you said exec()?)
776 use warnings 'deprecated' ;
779 defined(@array) is deprecated at - line 3.
780 (Maybe you should just omit the defined()?)
783 use warnings 'deprecated' ;
784 defined(@a = (1,2,3));
786 defined(@array) is deprecated at - line 3.
787 (Maybe you should just omit the defined()?)
790 use warnings 'deprecated' ;
793 defined(%hash) is deprecated at - line 3.
794 (Maybe you should just omit the defined()?)
797 no warnings 'syntax' ;
807 Prototype mismatch: sub main::fred () vs ($) at - line 3.
814 no warnings 'prototype' ;
817 use warnings 'prototype' ;
824 Prototype mismatch: sub main::fred () vs ($) at - line 4.
825 Prototype mismatch: sub main::freD () vs ($) at - line 11.
826 Prototype mismatch: sub main::FRED () vs ($) at - line 14.
829 use warnings 'syntax' ;
830 join /---/, 'x', 'y', 'z';
832 /---/ should probably be written as "---" at - line 3.
835 use warnings 'prototype' ;
838 no warnings 'prototype' ;
842 main::fred() called too early to check prototype at - line 3.
844 # op.c [Perl_newATTRSUB]
846 use warnings 'void' ;
847 BEGIN { $| = 1; print "in begin\n"; }
848 CHECK { print "in check\n"; }
849 INIT { print "in init\n"; }
850 END { print "in end\n"; }
851 print "in mainline\n";
855 delete $INC{"abc.pm"};
864 Too late to run CHECK block at abc.pm line 3.
865 Too late to run INIT block at abc.pm line 4.
868 Too late to run CHECK block at abc.pm line 3.
869 Too late to run INIT block at abc.pm line 4.
875 # op.c [Perl_newATTRSUB]
878 BEGIN { $| = 1; print "in begin\n"; }
879 CHECK { print "in check\n"; }
880 INIT { print "in init\n"; }
881 END { print "in end\n"; }
882 print "in mainline\n";
897 use warnings 'syntax' ;
900 no warnings 'syntax' ;
904 Useless use of push with no values at - line 4.
905 Useless use of unshift with no values at - line 5.
908 # 20020401 mjd@plover.com at suggestion of jfriedl@yahoo.com
909 use warnings 'regexp';
910 split /blah/g, "blah";
911 no warnings 'regexp';
912 split /blah/g, "blah";
914 Use of /g modifier is meaningless in split at - line 4.
917 use warnings 'precedence';
925 $a &= $b == $c; $a |= $b == $c; $a ^= $b == $c; # shouldn't warn
926 no warnings 'precedence';
935 Possible precedence problem on bitwise & operator at - line 3.
936 Possible precedence problem on bitwise ^ operator at - line 4.
937 Possible precedence problem on bitwise | operator at - line 5.
938 Possible precedence problem on bitwise & operator at - line 6.
939 Possible precedence problem on bitwise ^ operator at - line 7.
940 Possible precedence problem on bitwise | operator at - line 8.
941 Possible precedence problem on bitwise & operator at - line 9.
945 use warnings 'precedence';
953 no warnings 'precedence';
962 Possible precedence problem on bitwise & operator at - line 4.
963 Possible precedence problem on bitwise ^ operator at - line 5.
964 Possible precedence problem on bitwise | operator at - line 6.
965 Possible precedence problem on bitwise & operator at - line 7.
966 Possible precedence problem on bitwise ^ operator at - line 8.
967 Possible precedence problem on bitwise | operator at - line 9.
968 Possible precedence problem on bitwise & operator at - line 10.
972 # ok => local() has desired effect;
973 # ignore=> local() silently ignored
975 use warnings 'syntax';
977 local(undef); # OP_UNDEF ignore
978 sub lval : lvalue {};
979 local(lval()); # OP_ENTERSUB
980 local($x **= 1); # OP_POW
981 local($x *= 1); # OP_MULTIPLY
982 local($x /= 1); # OP_DIVIDE
983 local($x %= 1); # OP_MODULO
984 local($x x= 1); # OP_REPEAT
985 local($x += 1); # OP_ADD
986 local($x -= 1); # OP_SUBTRACT
987 local($x .= 1); # OP_CONCAT
988 local($x <<= 1); # OP_LEFT_SHIFT
989 local($x >>= 1); # OP_RIGHT_SHIFT
990 local($x &= 1); # OP_BIT_AND
991 local($x ^= 1); # OP_BIT_XOR
992 local($x |= 1); # OP_BIT_OR
995 local($x *= 1); # OP_I_MULTIPLY
996 local($x /= 1); # OP_I_DIVIDE
997 local($x %= 1); # OP_I_MODULO
998 local($x += 1); # OP_I_ADD
999 local($x -= 1); # OP_I_SUBTRACT
1001 local($x?$y:$z) = 1; # OP_COND_EXPR ok
1002 # these two are fatal run-time errors instead
1003 #local(@$a); # OP_RV2AV ok
1004 #local(%$a); # OP_RV2HV ok
1005 local(*a); # OP_RV2GV ok
1006 local(@a[1,2]); # OP_ASLICE ok
1007 local(@a{1,2}); # OP_HSLICE ok
1008 local(@a = (1,2)); # OP_AASSIGN
1009 local($$x); # OP_RV2SV ok
1010 local($#a); # OP_AV2ARYLEN
1011 local($x = 1); # OP_SASSIGN
1012 local($x &&= 1); # OP_ANDASSIGN
1013 local($x ||= 1); # OP_ORASSIGN
1014 local($x //= 1); # OP_DORASSIGN
1015 local($a[0]); # OP_AELEMFAST ok
1017 local(substr($x,0,1)); # OP_SUBSTR
1018 local(pos($x)); # OP_POS
1019 local(vec($x,0,1)); # OP_VEC
1020 local($a[$b]); # OP_AELEM ok
1021 local($a{$b}); # OP_HELEM ok
1022 local($[); # OP_CONST
1024 no warnings 'syntax';
1026 Useless localization of subroutine entry at - line 10.
1027 Useless localization of exponentiation (**) at - line 11.
1028 Useless localization of multiplication (*) at - line 12.
1029 Useless localization of division (/) at - line 13.
1030 Useless localization of modulus (%) at - line 14.
1031 Useless localization of repeat (x) at - line 15.
1032 Useless localization of addition (+) at - line 16.
1033 Useless localization of subtraction (-) at - line 17.
1034 Useless localization of concatenation (.) or string at - line 18.
1035 Useless localization of left bitshift (<<) at - line 19.
1036 Useless localization of right bitshift (>>) at - line 20.
1037 Useless localization of bitwise and (&) at - line 21.
1038 Useless localization of bitwise xor (^) at - line 22.
1039 Useless localization of bitwise or (|) at - line 23.
1040 Useless localization of integer multiplication (*) at - line 26.
1041 Useless localization of integer division (/) at - line 27.
1042 Useless localization of integer modulus (%) at - line 28.
1043 Useless localization of integer addition (+) at - line 29.
1044 Useless localization of integer subtraction (-) at - line 30.
1045 Useless localization of list assignment at - line 39.
1046 Useless localization of array length at - line 41.
1047 Useless localization of scalar assignment at - line 42.
1048 Useless localization of logical and assignment (&&=) at - line 43.
1049 Useless localization of logical or assignment (||=) at - line 44.
1050 Useless localization of defined or assignment (//=) at - line 45.
1051 Useless localization of substr at - line 48.
1052 Useless localization of match position at - line 49.
1053 Useless localization of vec at - line 50.
1056 use warnings 'deprecated';
1061 my ($x5,@x6, %x7) if 0;
1064 # these shouldn't warn
1068 if (my $w2) { $a=1 }
1069 if ($a && (my $w3 = 1)) {$a = 2}
1072 Deprecated use of my() in false conditional at - line 3.
1073 Deprecated use of my() in false conditional at - line 4.
1074 Deprecated use of my() in false conditional at - line 5.
1075 Deprecated use of my() in false conditional at - line 6.
1076 Deprecated use of my() in false conditional at - line 7.
1077 Deprecated use of my() in false conditional at - line 8.
1078 Deprecated use of my() in false conditional at - line 9.
1082 use warnings 'deprecated';
1084 no warnings 'deprecated';
1087 Use of assignment to $[ is deprecated at - line 4.