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

Re: inappropriate warning

Thread Previous | Thread Next
From:
Gurusamy Sarathy
Date:
March 20, 2000 11:29
Subject:
Re: inappropriate warning
Message ID:
200003201928.LAA32224@maul.ActiveState.com
On 20 Mar 2000 19:54:02 +0100, Johan Vromans wrote:
>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.

I think it should simply say $fh instead.  Patch welcome.


Sarathy
gsar@ActiveState.com

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