You could always just use the File::Util module from cpan. It contains a list_dirs function with an option ( -no-fsdots ) to exclude the dot directories.
Regards,
jlk
"Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall"
In reply to Re: directory listing
by jlk
in thread directory listing
by muizelaar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |