develooper Front page | perl.perl5.porters | Postings from September 2003

one nit to fix

Thread Next
Jarkko Hietaniemi
September 7, 2003 23:20
one nit to fix
Message ID:

    open my $fh, ">", \my $scalar or die;

should not warn under -w about undefinedness.  (We don't warn about

    open my $fh, ">file";

if the "file" does not exist, either...)

Jarkko Hietaniemi <> "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About