Check out the file test man pages:
perldoc -f -x -----Original Message----- From: loan tran [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: how to check if a dir exists if not create it? mkdir ("/storage/systbl/") || die "$!\n"; The code above does not check if the dir exist. Can you modify it please. Thanks. Loan __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]