See readdir, it returns a list.
But perhaps glob is more what you want. It will ignore dotfiles.my @standir = grep {! /^\./} readdir(DIR);
After Compline,
Zaxo
In reply to Re: Directory Listing to array
by Zaxo
in thread Directory Listing to array
by Poetic Justice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |