in reply to Directory Listing to array
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Directory Listing to array
by tachyon (Chancellor) on Apr 10, 2002 at 09:25 UTC |