|
|
| Do you know where your variables are? | |
| PerlMonks |
Avoiding making a directory that already existsby Anonymous Monk |
| on Aug 19, 2001 at 17:23 UTC ( [id://106039]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: what's a better way to write this so that every time I run the script it isn't trying to create a directory that's already there..... I have this code in a subroutine. I was thinking maybe a if (-e ....... help?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||