develooper Front page | perl.perl5.porters | Postings from March 2000

Re: inappropriate warning

Thread Previous | Thread Next
From:
JVromans
Date:
March 20, 2000 11:22
Subject:
Re: inappropriate warning
Message ID:
m2bt4979rp.fsf@phoenix.squirrel.nl
Tom Christiansen <tchrist@chthon.perl.com> writes:

>     % perl -we 'open($fh, "</dev/null"); print $fh "stuff\n"'
>     Filehandle main::$fh opened only for input at -e line 1.

main::$fh? I'd call that more than just misleading. I could live with
$main::fh, though.

-- Johan

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