![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re^2: Directory Structure.by AppleFritter (Vicar) |
on Apr 01, 2017 at 09:59 UTC ( #1186669=note: print w/replies, xml ) | Need Help?? |
When doing this, keep in mind that using backticks (``) or the qx// quote-like operator, the command provided is passed through the shell (/bin/sh, whatever THAT really is) and subject to all the usual shell magic. This may be a problem if you're not expecting it, and a security issue if you're passing user input to the shell. In order to avoid the shell, use system instead and pass a list:
In Section
Seekers of Perl Wisdom
|
|