Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: help needed with File::Find and arrays.

by RazorbladeBidet (Friar)
on Mar 11, 2005 at 15:42 UTC ( [id://438689]=note: print w/replies, xml ) Need Help??


in reply to help needed with File::Find and arrays.

I'm no File::Find expert, by any means, but this works for me:

... my @list_of_files; File::Find::find( \&add_to_list, $path ); sub add_to_list { push @list_of_files, $File::Find::name if ( /#some criteria# /); } ...
HTH!!
--------------
It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs

Replies are listed 'Best First'.
Re^2: help needed with File::Find and arrays.
by basarix (Initiate) on Mar 11, 2005 at 15:52 UTC
    Thanx.... i will try it asap....

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://438689]
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: (6)
As of 2024-04-23 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found