tested for explcitly:
while (($_ = <STDIN>) ne '0') { ... }
++ while (<STDIN>) { last unless $_; ... }
++
++In other boolean contexts C<E<lt>I<filehandle>E<gt>> without explcit C<defined>
++test or comparison will solicit a warning if C<-w> is in effect.
++
++If you really mean such values to terminate the loop they should be
++tested for explcitly:
++
++ while (($_ = <STDIN>) ne '0') { ... }
while (<STDIN>) { last unless $_; ... }
In other boolean contexts C<E<lt>I<filehandle>E<gt>> without explcit C<defined>
$me = $0; # Editing $0 is unportable
$me =~ s,.*/,,;
die <<EOF;
-Usage: $me [-h] [-v] [-t] [-u] [-m] [-l] [-F] [-X] PageName|ModuleName|ProgramName
+Usage: $me [-h] [-r] [-i] [-v] [-t] [-u] [-m] [-l] [-F] [-X] PageName|ModuleName|ProgramName
$me -f PerlFunc
+ $me -q FAQKeywords
The -h option prints more help. Also try "perldoc perldoc" to get
aquainted with the system.
unshift(@ARGV,shellwords($ENV{"PERLDOC"}));
- getopts("mhtluvriFf:X") || usage;
-getopts("mhtluvFf:Xq:") || usage;
++getopts("mhtluvriFf:Xq") || usage;
usage if $opt_h || $opt_h; # avoid -w warning