in reply to Re^2: quickest way to find number of files in a directory?
in thread quickest way to find number of files in a directory?
print "$_\n" for grep{ -f } glob(".*");
Or probably if you want to grab both dot and non-dot files:
print "$_\n" for grep{ -f } glob("{*,}.*");
Regards,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: quickest way to find number of files in a directory?
by ferreira (Chaplain) on Mar 27, 2007 at 20:30 UTC | |
by choroba (Cardinal) on Jul 24, 2012 at 15:43 UTC |