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:
- a reference to a sub
- a list of startdirectories (or at least one).
E.g.
- find( \&wanted, $startDir );
- find( \&wanted, $startDir1, $startDir2 );
- find( sub { ... }, $startDir );
- 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"