Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: __DATA___ File Handleby si_lence (Deacon) |
on Aug 13, 2009 at 10:35 UTC ( [id://788201]=note: print w/replies, xml ) | Need Help?? |
You do not need to open it, but - according to the documentation - you should close it yourself: "The filehandle is left open pointing to the contents after __DATA__. It is the program's responsibility to close DATA when it is done reading from it." (Special Literals, as linked by Anonymous Monk). cheers, si_lence
In Section
Seekers of Perl Wisdom
|
|