Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: File::Find

by jplindstrom (Monsignor)
on Apr 10, 2002 at 18:17 UTC ( [id://158097]=note: print w/replies, xml ) Need Help??


in reply to Passing arguments to File::Find

From the POD:

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

Note the { }.

/J

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:
    ${$_[0]}{foo}
    I like chicken.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://158097]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-20 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found