in reply to Re: Re: Listing Files
in thread Listing Files

Reply to: Re: Re: Listing Files by Anonymous Monk
Thanks strat, Please explain as I am not sure why you have this at the end: I tried looking this up in my book but couldnt find what it is doing.
The function find from the module File::Find expects at least two parameters:
  1. a reference to a sub
  2. a list of startdirectories (or at least one).
E.g.
  1. find( \&wanted, $startDir );
  2. find( \&wanted, $startDir1, $startDir2 );
  3. find( sub { ... }, $startDir );
  4. find( sub { ... }, @startDirs );
I chose construct 4.

perldoc File::Find will give you further information.

Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"

Replies are listed 'Best First'.
Re: Re: Re: Re: Listing Files
by Anonymous Monk on Mar 01, 2002 at 19:57 UTC
    Thanks!