in reply to $File::Find::prune

I may be wrong but $dir is always set to '/some_dir' in process..

So I can't explain how you get "skipping" printed.


"Trying to be a SMART lamer" (thanx to Merlyn ;-)

Replies are listed 'Best First'.
Re: Re: $File::Find::prune
by Tyke (Pilgrim) on Mar 09, 2001 at 13:16 UTC
    If you add the line
    print "Got name = [$File::Find::name] dir = [$File::Find::dir]\n";
    before your if statement, I think you'll see what's going wrong. $File::Find::dir doesn't contain what you think it does.
    -- I knock my pate and fancy wit will come Knock as I please, there's no one at home a pontiff paraphrased