Don't ask to ask, just ask | |
PerlMonks |
Re: Performance Trap - Opening/Closing Files Inside a Loopby runrig (Abbot) |
on Dec 10, 2004 at 18:23 UTC ( [id://413928]=note: print w/replies, xml ) | Need Help?? |
(Warning: awkmonk post ahead): I almost forgot. I once had a similar problem, so I wrote an awk solution. Though in my case, I knew there were only about 5 different values for the file name, and there was a bit more error checking than this, but it was basically something like: And just use a2p to get a perl version of this :)
In Section
Seekers of Perl Wisdom
|
|