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

Re: inappropriate warning

Thread Previous | Thread Next
Gurusamy Sarathy
March 20, 2000 11:29
Re: inappropriate warning
Message ID:
On 20 Mar 2000 19:54:02 +0100, Johan Vromans wrote:
>Tom Christiansen <> 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.


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