in reply to Directory Listing
It's better to use readdir() as mentioned above since it does not depend on the actual name (DOS has something with *.* and unix will not match directories without a dot). The advantage of this version is simplicity (and perlicity :)for (<*.*>) { print $_ if -d; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Directory Listing
by turnstep (Parson) on Aug 10, 2000 at 01:47 UTC | |
by tilly (Archbishop) on Aug 10, 2000 at 02:22 UTC | |
by jlp (Friar) on Aug 10, 2000 at 03:13 UTC |