|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Performance Trap - Opening/Closing Files Inside a Loopby runrig (Abbot) |
| on Dec 10, 2004 at 13:23 UTC ( [id://413928]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
(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
|
|
||||||||||||||||||||||||