I have a module that works with a couple of different file handles. Is
it possible to hide them within an anonymous hash? {} (i.e. the objects
data). Right now I have:
if (condition_is_met()) {
open("FILE","<file");
}
This is in the main body of my package (and thus, I assume, accessible
by all functions). Is it better to use tighter encapsulation (i.e. a
closure or throwing it into an anonymous hash) or just to leave it in
the body?
Thanks in advance,
-Dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]