if (-d <directory name>) {
        print "Directory exists\n";
}

-----Original Message-----
From: Carlos Mantero [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 28, 2005 5:09 PM
To: Perl BG
Subject: Verify that a directory exists.


Hi all,

I'm a begginer in Perl and other programming languages. I want to verify
that a directory exists, but I don't know the way tho do it.

Regards.
-- 
Carlos Mantero <mantero($)gmail.com> <http://www.mantero.tk>

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to