in reply to Avoiding making a directory that already exists
Take a look at the docs on filetest operators.mkdir("$directory/$month/$day", 0755) unless -d "$directory/$month/$day";
HTH
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Avoiding making a directory that already exists
by Anonymous Monk on Aug 19, 2001 at 22:38 UTC |