File::Find looks perfect to me if you need to recurse through subdirectories. But you might consider only doing the find() only once if the contents of the directory isn't apt to change.
Perhaps you should show the actual code in context (including the "outer loop not shown")
In reply to Re: File::Find exit
by duff
in thread File::Find exit
by sweetblood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |