in reply to Directory Tree Viewer
Yes: Instead of your reinvented-wheel dirwalk sub, use the standard File::Find module. It has a prune function (actually a flag) which lets you bail out based on any criteria, such as depth.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Directory Tree Viewer
by Anonymous Monk on Sep 21, 2006 at 16:56 UTC |