in reply to Re: Count folder/files in directory
in thread Count folder/files in directory
The OP tries to avoid counting the "." and ".." directories. Slip a "return if /^\.\.?\z/" in at the top of that anonymous sub, and I think that's it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Count folder/files in directory
by Corion (Patriarch) on May 22, 2008 at 16:14 UTC | |
|
Re^3: Count folder/files in directory
by runrig (Abbot) on May 22, 2008 at 16:32 UTC |