Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Beginners guide to File::Find

by tos (Deacon)
on May 25, 2003 at 19:28 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://260720]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-29 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found