Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: return an array from File::Find

by ForgotPasswordAgain (Priest)
on Mar 30, 2008 at 20:21 UTC ( [id://677380]=note: print w/replies, xml ) Need Help??


in reply to return an array from File::Find

Why do you insist on returning the array from find?

my @array; find(sub { push @array, $File::Find::name }, $dirphoto);

Replies are listed 'Best First'.
Re^2: return an array from File::Find
by Anonymous Monk on Mar 31, 2008 at 12:39 UTC
    Thank you - this worked perfectly for me.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found