in reply to Re^2: Should I escape shell arguments in Perl?
in thread Should I escape shell arguments in Perl?
Oh, and on testing not by the shell either@args=qw(command arg1 arg2); system(@args);
So it prevents this form of abuse by default, I wasn't aware of that feature at all. Thanks~$ perl -e '@args=qw(echo Hello;echo World);system(@args);' Hello;echo World
|
|---|