Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Traversing directories recursively

by andreas1234567 (Vicar)
on Nov 20, 2007 at 10:06 UTC ( #651890=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ mkdir foo bar
    $ touch bar/1
    ...
          1 ./foo/4
          1 ./foo/5
          1 ./foo/6
    
  2. or download this
    $ perl -wle 'use strict; use File::Find; find(sub { print if -f }, "."
    +);'
    651889.pl
    ...
    6
    5
    4
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2019-07-18 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?