3 "my" variable %s masks earlier declaration in same scope
7 Variable "%s" may be unavailable
15 Variable "%s" will not stay shared
23 Found = in conditional, should be ==
26 Use of implicit split to @_ is deprecated
29 Use of implicit split to @_ is deprecated
32 Useless use of time in void context
33 Useless use of a variable in void context
34 Useless use of a constant in void context
39 Applying %s to %s will act on scalar(%s)
40 my $a ; my @a = () ; my %a = () ; my $b = \@a ; my $c = \%a ;
55 Parens missing around "my" list at -e line 1.
58 Parens missing around "local" list at -e line 1.
61 Probable precedence problem on logical or at -e line 1.
62 use warning 'syntax'; my $x = print(ABC || 1);
64 Value of %s may be \"0\"; use \"defined\"
66 $x = 1 while $x = <FH> ;
68 Subroutine fred redefined at -e line 1.
69 sub fred{1;} sub fred{1;}
71 Constant subroutine %s redefined
72 sub fred() {1;} sub fred() {1;}
74 Format FRED redefined at /tmp/x line 5.
80 Array @%s missing the @ in argument %d of %s()
83 Hash %%%s missing the %% in argument %d of %s()
86 Statement unlikely to be reached
87 (Maybe you meant system() when you said exec()?
93 use warning 'unsafe' ;
97 "my" variable $x masks earlier declaration in same scope at - line 4.
100 use warning 'unsafe' ;
108 Variable "$x" will not stay shared at - line 7.
111 use warning 'unsafe' ;
119 Variable "$x" may be unavailable at - line 6.
122 use warning 'syntax' ;
125 Found = in conditional, should be == at - line 3.
128 use warning 'deprecated' ;
131 Use of implicit split to @_ is deprecated at - line 3.
134 use warning 'deprecated' ;
137 Use of implicit split to @_ is deprecated at - line 3.
140 use warning 'void' ; close STDIN ;
143 wantarray ; # OP_WANTARRAY
153 defined $a ; # OP_DEFINED
156 length $a ; # OP_LENGTH
157 substr $a,1 ; # OP_SUBSTR
158 vec $a,1,2 ; # OP_VEC
159 index $a,1,2 ; # OP_INDEX
160 rindex $a,1,2 ; # OP_RINDEX
161 sprintf $a ; # OP_SPRINTF
165 #values %a ; # OP_VALUES
169 unpack "a", "a" ; # OP_UNPACK
170 pack $a,"" ; # OP_PACK
172 (@a)[0,1] ; # OP_LSLICE
175 sort(1,2) ; # OP_SORT
176 reverse(1,2) ; # OP_REVERSE
181 fileno STDIN ; # OP_FILENO
183 tell STDIN ; # OP_TELL
184 readlink 1; # OP_READLINK
186 localtime ; # OP_LOCALTIME
188 eval { getgrnam 1 }; # OP_GGRNAM
189 eval { getgrgid 1 }; # OP_GGRGID
190 eval { getpwnam 1 }; # OP_GPWNAM
191 eval { getpwuid 1 }; # OP_GPWUID
193 Useless use of repeat in void context at - line 3.
194 Useless use of wantarray in void context at - line 5.
195 Useless use of reference-type operator in void context at - line 12.
196 Useless use of reference constructor in void context at - line 13.
197 Useless use of scalar ref constructor in void context at - line 14.
198 Useless use of defined operator in void context at - line 15.
199 Useless use of hex in void context at - line 16.
200 Useless use of oct in void context at - line 17.
201 Useless use of length in void context at - line 18.
202 Useless use of substr in void context at - line 19.
203 Useless use of vec in void context at - line 20.
204 Useless use of index in void context at - line 21.
205 Useless use of rindex in void context at - line 22.
206 Useless use of sprintf in void context at - line 23.
207 Useless use of array element in void context at - line 24.
208 Useless use of array slice in void context at - line 26.
209 Useless use of hash elem in void context at - line 29.
210 Useless use of hash slice in void context at - line 30.
211 Useless use of unpack in void context at - line 31.
212 Useless use of pack in void context at - line 32.
213 Useless use of join in void context at - line 33.
214 Useless use of list slice in void context at - line 34.
215 Useless use of sort in void context at - line 37.
216 Useless use of reverse in void context at - line 38.
217 Useless use of range (or flop) in void context at - line 41.
218 Useless use of caller in void context at - line 42.
219 Useless use of fileno in void context at - line 43.
220 Useless use of eof in void context at - line 44.
221 Useless use of tell in void context at - line 45.
222 Useless use of readlink in void context at - line 46.
223 Useless use of time in void context at - line 47.
224 Useless use of localtime in void context at - line 48.
225 Useless use of gmtime in void context at - line 49.
226 Useless use of getgrnam in void context at - line 50.
227 Useless use of getgrgid in void context at - line 51.
228 Useless use of getpwnam in void context at - line 52.
229 Useless use of getpwuid in void context at - line 53.
235 if ( ! $Config{d_telldir}) {
238 # telldir not present
243 telldir 1 ; # OP_TELLDIR
245 Useless use of telldir in void context at - line 13.
251 if ( ! $Config{d_getppid}) {
254 # getppid not present
259 getppid ; # OP_GETPPID
261 Useless use of getppid in void context at - line 13.
267 if ( ! $Config{d_getpgrp}) {
270 # getpgrp not present
275 getpgrp ; # OP_GETPGRP
277 Useless use of getpgrp in void context at - line 13.
283 if ( ! $Config{d_times}) {
293 Useless use of times in void context at - line 13.
299 if ( ! $Config{d_getprior}) {
302 # getpriority not present
307 getpriority 1,2; # OP_GETPRIORITY
309 Useless use of getpriority in void context at - line 13.
315 if ( ! $Config{d_getlogin}) {
318 # getlogin not present
323 getlogin ; # OP_GETLOGIN
325 Useless use of getlogin in void context at - line 13.
330 if ( ! $Config{d_socket}) {
333 # getsockname not present
334 # getpeername not present
335 # gethostbyname not present
336 # gethostbyaddr not present
337 # gethostent not present
338 # getnetbyname not present
339 # getnetbyaddr not present
340 # getnetent not present
341 # getprotobyname not present
342 # getprotobynumber not present
343 # getprotoent not present
344 # getservbyname not present
345 # getservbyport not present
346 # getservent not present
350 getsockname STDIN ; # OP_GETSOCKNAME
351 getpeername STDIN ; # OP_GETPEERNAME
352 gethostbyname 1 ; # OP_GHBYNAME
353 gethostbyaddr 1,2; # OP_GHBYADDR
354 gethostent ; # OP_GHOSTENT
355 getnetbyname 1 ; # OP_GNBYNAME
356 getnetbyaddr 1,2 ; # OP_GNBYADDR
357 getnetent ; # OP_GNETENT
358 getprotobyname 1; # OP_GPBYNAME
359 getprotobynumber 1; # OP_GPBYNUMBER
360 getprotoent ; # OP_GPROTOENT
361 getservbyname 1,2; # OP_GSBYNAME
362 getservbyport 1,2; # OP_GSBYPORT
363 getservent ; # OP_GSERVENT
365 # some functions may not be there, so we exit without running
369 Useless use of getsockname in void context at - line 24.
370 Useless use of getpeername in void context at - line 25.
371 Useless use of gethostbyname in void context at - line 26.
372 Useless use of gethostbyaddr in void context at - line 27.
373 Useless use of gethostent in void context at - line 28.
374 Useless use of getnetbyname in void context at - line 29.
375 Useless use of getnetbyaddr in void context at - line 30.
376 Useless use of getnetent in void context at - line 31.
377 Useless use of getprotobyname in void context at - line 32.
378 Useless use of getprotobynumber in void context at - line 33.
379 Useless use of getprotoent in void context at - line 34.
380 Useless use of getservbyname in void context at - line 35.
381 Useless use of getservbyport in void context at - line 36.
382 Useless use of getservent in void context at - line 37.
391 Useless use of a variable in void context at - line 3.
392 Useless use of a variable in void context at - line 4.
393 Useless use of a variable in void context at - line 5.
394 Useless use of a variable in void context at - line 6.
401 Useless use of a constant in void context at - line 3.
402 Useless use of a constant in void context at - line 4.
405 use warning 'unsafe' ;
406 my $a ; my @a = () ; my %a = () ; my $b = \@a ; my $c = \%a ;
420 Applying pattern match to @array will act on scalar(@array) at - line 4.
421 Applying substitution to @array will act on scalar(@array) at - line 5.
422 Can't modify private array in substitution at - line 5, near "s/a/b/ ;"
423 Applying character translation to @array will act on scalar(@array) at - line 6.
424 Applying pattern match to @array will act on scalar(@array) at - line 7.
425 Applying substitution to @array will act on scalar(@array) at - line 8.
426 Applying character translation to @array will act on scalar(@array) at - line 9.
427 Applying pattern match to %hash will act on scalar(%hash) at - line 10.
428 Applying substitution to %hash will act on scalar(%hash) at - line 11.
429 Applying character translation to %hash will act on scalar(%hash) at - line 12.
430 Applying pattern match to %hash will act on scalar(%hash) at - line 13.
431 Applying substitution to %hash will act on scalar(%hash) at - line 14.
432 Applying character translation to %hash will act on scalar(%hash) at - line 15.
433 Execution of - aborted due to compilation errors.
436 use warning 'syntax' ;
439 Parens missing around "my" list at - line 3.
442 use warning 'syntax' ;
443 local $a, $b = (1,2);
445 Parens missing around "local" list at - line 3.
448 use warning 'syntax' ;
451 Probable precedence problem on logical or at - line 3.
457 use warning 'unsafe' ;
459 $x = 1 if $x = <FH> ;
461 Value of <HANDLE> construct can be "0"; test with defined() at - line 4.
464 use warning 'unsafe' ;
466 $x = 1 if $x = readdir FH ;
469 Value of readdir() operator can be "0"; test with defined() at - line 4.
472 use warning 'unsafe' ;
475 Value of glob construct can be "0"; test with defined() at - line 3.
478 use warning 'unsafe' ;
480 $x = 1 if $x = each %a ;
482 Value of each() operator can be "0"; test with defined() at - line 4.
485 use warning 'unsafe' ;
486 $x = 1 while $x = <*> and 0 ;
488 Value of glob construct can be "0"; test with defined() at - line 3.
491 use warning 'unsafe' ;
493 $x = 1 while $x = readdir FH and 0 ;
496 Value of readdir() operator can be "0"; test with defined() at - line 4.
499 use warning 'redefine' ;
503 Subroutine fred redefined at - line 4.
506 use warning 'redefine' ;
510 Constant subroutine fred redefined at - line 4.
513 use warning 'redefine' ;
519 Format FRED redefined at - line 5.
522 use warning 'syntax' ;
525 Array @FRED missing the @ in argument 1 of push() at - line 3.
528 use warning 'syntax' ;
531 Hash %FRED missing the % in argument 1 of keys() at - line 3.
534 use warning 'syntax' ;
538 Statement unlikely to be reached at - line 4.
539 (Maybe you meant system() when you said exec()?)