go ahead... be a heretic | |
PerlMonks |
Re: Array Normalization of File::DirWalkby jdporter (Paladin) |
on Feb 23, 2007 at 12:26 UTC ( [id://601732]=note: print w/replies, xml ) | Need Help?? |
I'm sorry to say it, but File::DirWalk is not a very well written module. To do what you want to do properly, you have to reach into the object, breaking its encapsulation. (Hey, at least it's possible. :-) And the module's documentation is poor, in that it does not tell you what the depth parameter is really for or how it's used. The following works:
Note two things:
Just for fun, here's how I'd probably write the above:
A word spoken in Mind will reach its own level, in the objective world, by its own weight
In Section
Seekers of Perl Wisdom
|
|