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
Josh Purinton
April 27, 2003 13:50
Re: [perl #22010] open(F, "<&DATA") fails silently (perlbug20030421: message 16 of 20)
Message ID:
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

Josh Purinton <>

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