in reply to Re: Re: Getting a simple directory listing
in thread Getting a simple directory listing
Although I would substitute that whole block (the readdir and the foreach) by:push(@dir, $_) if (-d "./desktop/$_");
:-)@dir = grep { -d "./desktop/$_" } readdir(TEXTFILES);
--ZZamboni
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Getting a simple directory listing
by Stamp_Guy (Monk) on May 01, 2001 at 04:27 UTC | |
by ZZamboni (Curate) on May 01, 2001 at 04:35 UTC |