my $dir = '/path/to'; my @names = glob "$dir/*";
After Compline,
Zaxo
In reply to Re: Populating an array with contents of a directory.
by Zaxo
in thread Populating an array with contents of a directory.
by parkprimus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |