laziness, impatience, and hubris | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Dear Monks,
I am trying to call a shell script from my perl program, like: my @array=qx( ./shellscript.sh <<< " string argument passed "); But I get the following error: sh: 1: Syntax error: redirection unexpected However, when I run the shellscript directly on the command line as (./shellscript.sh <<< " string argument passed "), it works fine. Any hints? Thank you. In reply to execute shell script from perl by rajaman
|
|