(WARNING: Old, fuzzy, possibly inapplicable and out-of-date memory from the distant past!)
On HP-UX 10.something, we successfully used something like:
my $dir = "/mnt/home/volume/"; my $i = 0; ++$i until mkdir "$dir$i"; ## $i contains the dir successfully created
In reply to Re: Safely create new directory
by BrowserUk
in thread Safely create new directory
by elTriberium
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |