I want to use mkdir(blah blah, o777), but want to first find out whether the directory "blah blah" exists.
I'm not if the -e option will bw right here. Let's say:


       unless (-e blah_blah) mkdir(blah_blah, 0777);
# Is this okay?


-- 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