!/^\./ and push @standir, "$_\n" while ($_ = readdir(DIR)) # or @standir = grep { !/^\./ } readdir(DIR); # doesn't append \n
In reply to Re: Directory Listing to array
by Zed_Lopez
in thread Directory Listing to array
by Poetic Justice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |