in reply to File::Find problem

I tried your code with a small modification, and it worked. The second parameter to find() should be an array, so I modified it to this:
find ( { wanted => \&process, preprocess => \&preprocess, postprocess => \&postprocess }, (".") );
Update:

I understood your question, and the print out did show me that all three handler were executed. Hm...

Replies are listed 'Best First'.
Re: Re: File::Find problem
by Anonymous Monk on Mar 17, 2003 at 17:44 UTC

    pg,

    I tried your change, and it still doesn't work for me. Thanks for the attempt though.

    Also, In case I didn't make it clear in my initial question, the process function IS executing. The preprocess and postprocess functions are not.