in reply to Ignoring a Directory with File::Find

Instead of next, you can use a bare return:
find ( { wanted => sub { return if /$string/; ...
Something to keep in mind, although fruiture shows a cleaner way to do what you want.

Replies are listed 'Best First'.
Re: Re: Ignoring a Directory with File::Find
by princepawn (Parson) on Nov 12, 2002 at 20:31 UTC
    unless you are using InterwovenPerl and thus are stuck 5.005.

    Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality