Filehandle DATA within a module: Change from V 5.8.4 to 5.8.6
- From: Ron Savage <ron@xxxxxxxxxxxxx>
- Date: Tue, 26 Apr 2005 20:16:28 +1000
Hi Folks
Under V 5.8.4 I could have data within a module, after the __DATA__ token, and
read it with:
my(@line) = grep{! /^#/} <DATA>;
close DATA;
but under 5.8.6 I get this error:
readline() on unopened filehandle DATA...
I had a look at 4 recent perldeltas but could not find any reference to this
change. Can someone point me to the docs on this, please?
TIA.
.
- Follow-Ups:
- Re: Filehandle DATA within a module: Change from V 5.8.4 to 5.8.6
- From: Ron Savage
- Re: Filehandle DATA within a module: Change from V 5.8.4 to 5.8.6
- Prev by Date: Parsing OpenOffice Spreadsheets
- Next by Date: Re: XML::Parser::Expat install problem
- Previous by thread: Parsing OpenOffice Spreadsheets
- Next by thread: Re: Filehandle DATA within a module: Change from V 5.8.4 to 5.8.6
- Index(es):