Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Efficient processing of large directory

by Elliott (Pilgrim)
on Oct 02, 2003 at 16:31 UTC ( #295965=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach$file(<directory/*.txt>) {
        do stuff
    }
    
  2. or download this
    foreach$subdir(<directory/*>) {
        foreach$file(<$subdir/*.txt>) {
           do stuff
       }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-01-29 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (229 votes), past polls