Michael Somos on Tue, 16 Jan 2001 21:05:50 -0500

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

gphelp tweaks

I would like to suggest the following tweaks to "gphelp" 2.1.0 :

$ch = $cb = $cu = '' ;
$docdir = $ENV{GPDOCDIR} || $ENV{GPHELP_DOCDIR} || '' ;

which ensures that the variables are initialized for later use. Perl
can still do the right thing but "perl -w" detects that these
variables are not initialized before use. Thanks.

Did we mention that you should definitely consider using the -w switch?