develooper Front page | perl.perl5.porters | Postings from November 1999

Re: [ID 19991126.001] open(my $FH,..) emits false warning

Thread Previous | Thread Next
From:
M.J.T. Guy
Date:
November 26, 1999 05:42
Subject:
Re: [ID 19991126.001] open(my $FH,..) emits false warning
Message ID:
E11rLe1-0007CR-00@taurus.cus.cam.ac.uk
jarausch@numa1.igpm.rwth-aachen.de (Helmut Jarausch) wrote
> sub Check {
>   open(my $FH,">dummy"); # line 4
> }

> Use of uninitialized value at - line 4.

$FH hasn't been given a value, so what do you expect?


Mike Guy

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About