|Think about Loose Coupling
Avoiding making a directory that already existsby Anonymous Monk
|on Aug 19, 2001 at 21:23 UTC
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?