Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Dereference a reference to a file handle created with IO::Fileby dgdriscoll (Initiate) |
on Oct 28, 2020 at 18:43 UTC ( [id://11123275]=note: print w/replies, xml ) | Need Help?? |
Thank you very much. I chose your second suggestion, calling a method on the handle as being both shorter and, to me at least, clearer. There is something about nested {}'s when the inner and outer set do different things that is challenging for someone who gets into Perl once every couple of years or so. If there is any performance differential, it won't matter in my case. Thanks again, Dave Driscoll
In Section
Seekers of Perl Wisdom
|
|