I have a need to create a directory on file system from within my perl script, and I have to assume the directory path is not fixed. I can successfully execute something like:
`mkdir folderA/folderB/folderC`
, but the directory path is variable, so I have to somehow pass the path variable as part of the shell command. However, I do not know how to do this. Any ideas are appreciated. Thank you!
In reply to pass a variable or string to shell command from perl script by thadc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |