This works on *NIX and I believe WIN32 as well, but I'm not 100% certain. -Ericopendir(DIR, "$path") || die "Error: $!"; @entry = grep { $_ ne '.' && $_ ne '..' } readdir(DIR); closedir(DIR);
In reply to Re: Directory Listing to an Array
by emilford
in thread Directory Listing to an Array
by Poetic Justice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |