mkdir already fails if the path already exists.
$ perl -wE 'say mkdir "/"; say $!' 0 File exists
In reply to Re: Safely create new directory
by moritz
in thread Safely create new directory
by elTriberium
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |