Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Beginners guide to File::Find

by tos (Deacon)
on May 25, 2003 at 19:28 UTC ( #260720=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # cat pf1
    #! /usr/local/bin/perl
    ...
    find({wanted => sub {print $File::Find::name,"\n" if -d},
          no_chdir => 1}, "$dir");
    
  2. or download this
    # find da
    da
    ...
    da/s3/sz/f8
    da/s3/f6
    da/s4
    
  3. or download this
    # ./pf1 ./da
    ./da
    ...
    ./da/s2/sx
    ./da/s2/sx/sa
    ./da/s1
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (18)
As of 2015-07-30 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls