newbie00 has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way to test whether a directory exists (analogous to testing if a file exists)?
The reference books I've checked aren't clear on this. They just mention how to open a dir using a filehandle. I've also searched this site and I have not found the answer, yet.
Thank you.
--newbie00
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to test if a directory exists?
by grep (Monsignor) on Dec 25, 2001 at 00:54 UTC | |
|
Re: How to test if a directory exists?
by tachyon (Chancellor) on Dec 25, 2001 at 00:53 UTC | |
|
Re: How to test if a directory exists?
by ariels (Curate) on Dec 25, 2001 at 17:24 UTC | |
|
Re: How to test if a directory exists?
by Alex the Serb (Monk) on Dec 25, 2001 at 12:32 UTC |