J
joez3
I have the following if statment in some code that I got at work:
if (! mkdir $dir)
When I try to run this code no matter what I set $dir to it fails with:
Not enough arguments for mkdir at test.pl line 11, near "$dir ) "
Execution of test.pl aborted due to compilation errors.
Why doesn't this code work on windows? Is there a way to make it work?
Thanks,
Zim
if (! mkdir $dir)
When I try to run this code no matter what I set $dir to it fails with:
Not enough arguments for mkdir at test.pl line 11, near "$dir ) "
Execution of test.pl aborted due to compilation errors.
Why doesn't this code work on windows? Is there a way to make it work?
Thanks,
Zim