Perl-Sensitive Sunglasses | |
PerlMonks |
Re: execute shell script from perlby choroba (Cardinal) |
on Sep 28, 2017 at 19:13 UTC ( [id://1200308]=note: print w/replies, xml ) | Need Help?? |
qx , as documented in perlop, runs /bin/sh, which might be different to your terminal shell. Most probably, the shell in which the "Here String" works is bash, but /bin/sh is dash which doesn't support it. Also note that what follows <<< isn't a "string argument", but it gets passed to the preceding command on standard input (after some expansions).
In Section
Seekers of Perl Wisdom
|
|