http://qs321.pair.com?node_id=181424


in reply to File::Find preprocess difficulties

I'm probably way off here, but didn't I read somewhere that you shouldn't use exit to exit a sub? Wouldn't return; be more useful?


Anyone know of an abbottoire going cheap?

Replies are listed 'Best First'.
Re: Re: File::Find preprocess difficulties
by Fastolfe (Vicar) on Jul 13, 2002 at 00:29 UTC
    This script is actually just one step in a larger process. It's a simplified test case for posting here. A return would continue searching for files, and I'm really only interested in the first one it finds (the latest).