in reply to Passing arguments to File::Find

From the POD:

use File::Find;
find({ wanted => \&process, follow => 1 }, '.');

Note the { }.


Replies are listed 'Best First'.
Re: Re: File::Find
by Stegalex (Chaplain) on Apr 10, 2002 at 18:41 UTC
    Thanks for the solution. I am sorry for overlooking this. I added another element to the hash named "foo" and then dereferenced it in &process() by saying:
    I like chicken.