There's more than one way to do things | |
PerlMonks |
Re: On timely destruction?by theorbtwo (Prior) |
on Aug 28, 2002 at 01:40 UTC ( [id://193331]=note: print w/replies, xml ) | Need Help?? |
I often have filehandles that escape their lexical context. To whit, I have a sub to open a file, and return the filehandle. It's called replacable parts -- for the prototype I have it open a static filename, later I have it be more configurable, with a config file, or whatever. (OK, I don't, but if I wrote cleanly, I would.) Confession: It does an Immortal Body good.
In Section
Seekers of Perl Wisdom
|
|