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?mkdir "$directory/$month/$day", 0755;
In reply to Avoiding making a directory that already exists by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |