|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: How do I recursively process files through directoriesby Discipulus (Canon) |
| on Sep 12, 2002 at 08:40 UTC ( [id://197204]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
on my first script (I'm still a newbie) I had the same problem. I have solved it in this way: This code make %albero with the paths as keys and directory or file as values(is unnecessary to recurse the directory). It calculate the size of the sub tree and print out the value. The magic point is: NOTE: creaalbero means maketree and percorso means path. seeU L*
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||