http://qs321.pair.com?node_id=438689


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....