Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: How to read files in all subfolders?

by davido (Archbishop)
on Oct 21, 2012 at 06:51 UTC ( #1000176=note: print w/replies, xml ) Need Help??

in reply to How to read files in all subfolders?

If you have the suspicion that recursing through directory structures to work on files within them is something that has been done before with Perl, you would be right. It's been done often enough that with every complete distribution of Perl, there's a module included with the name of File::Find. This is where you might want to start; File::Find solves the hardest part of the problem you're facing.


  • Comment on Re: How to read files in all subfolders?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000176]
[Corion]: Two-way data binding means that if you change something in a text box, the corresponding variable in your Javascript gets updated immediately as well, and if you then change the variable, the corresponding text box also gets updated
[Corion]: That is a horrible approach that was also taken by Access, but if you have hooks that prevent automatic saving to the database, it is incredibly handy

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-03-30 07:56 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (355 votes). Check out past polls.