in reply to Issue with 'system'

What Corion says. TIMTOWTDI:

system("@args"); # makes @args into a string
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Replies are listed 'Best First'.
Re^2: Issue with 'system'
by RonW (Parson) on Oct 17, 2016 at 01:35 UTC

    Note that system("@args") will cause a shell to be invoked to process the string. system(@args) will exec (or spawn) the specified program without using an intermediate shell.

Re^2: Issue with 'system'
by Anonymous Monk on Oct 15, 2016 at 20:09 UTC

    This work as well as the first reply. Learned something. Thanks.