in reply to Re: Do I need/want to close __DATA__?
in thread Do I need/want to close __DATA__?
Here is what happens when 2 separate packages leave their DATA opened. warn reports only the last one being opened. Is it because the interpreter will detect opened DATA and localise it?
As I said, the interpreter simply internally keeps track of the most recently accessed filehandle; "localise" is the wrong term here IMHO because it sounds like you mean something to do with local.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Do I need/want to close __DATA__?
by bliako (Abbot) on Apr 15, 2020 at 08:42 UTC |