Using a system call to do this is unnecessary. Perl has a mkdir function built in.
my $new_folder = 'c:\\path\\directory'; mkdir $new_folder unless -d $new_folder; die "Could not create dir $new_folder: $!" unless -d $new_folder;
HTH
--
Allolex
In reply to Re: Creating Directories
by allolex
in thread Creating Directories
by lilbit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |