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

Re: [perl #22010] open(F, "<&DATA") fails silently (perlbug20030421: message 16 of 20)

Thread Next
From:
Josh Purinton
Date:
April 27, 2003 13:50
Subject:
Re: [perl #22010] open(F, "<&DATA") fails silently (perlbug20030421: message 16 of 20)
Message ID:
20030427205037.GA5512@lambda.purinton.org
On Sun, Apr 27, 2003 at 07:52:29PM -0000, Nick Ing-Simmons wrote:
> >Fair enough. Currently perldata.pod simply states:
> >   The filehandle is left open pointing to the contents after __DATA__.
> >
> >It might help to add a warning like:
> >   Unlike all other filehandles, DATA is read by perl while reading the
> >   program.  
> 
> But it isn't really unlike other file handles.

Interesting. What other file handles does the perl interpreter read from
without the script explicitly requesting it? (And where is this behavior
documented?)

-- 
Josh Purinton <perlbug20030421.5.jp@xoxy.net>

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