Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: return an array from File::Find

by ForgotPasswordAgain (Deacon)
on Mar 30, 2008 at 20:21 UTC ( #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);

Comment on Re: return an array from File::Find
Select or Download Code
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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2016-02-14 18:15 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (470 votes), past polls