Re: How do I recursively process files through directoriesby Discipulus (Canon)
|on Sep 12, 2002 at 12:40 UTC ( #197204=note: print w/replies, xml )||Need Help??|
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.
In Section Seekers of Perl Wisdom