We don't bite newbies here... much | |
PerlMonks |
Re (tilly) 1: Closing and re-opening the DATA Filehandleby tilly (Archbishop) |
on Apr 05, 2001 at 07:23 UTC ( [id://70003]=note: print w/replies, xml ) | Need Help?? |
My solution would be to side-step the question with some
memoization.
Issues with this? Well first of all you are assuming that DATA doesn't have too much in it, and you assume that it has something. But still memoization is a good solution to many problems where you wouldn't have thought it applied at first....
In Section
Seekers of Perl Wisdom
|
|