in reply to pass a variable or string to shell command from perl script
Is there a reason not to use mkdir?