in reply to Re: sh: -c: line 1: syntax error near unexpected token `|'
in thread sh: -c: line 1: syntax error near unexpected token `|'
That's pretty much the actual code is I'm afraid. Additionally, you can think of $cmd as below:
$cmd = "------------- Hello World ------------";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: sh: -c: line 1: syntax error near unexpected token `|'
by lune (Pilgrim) on May 10, 2012 at 09:23 UTC | |
Re^3: sh: -c: line 1: syntax error near unexpected token `|'
by cdarke (Prior) on May 10, 2012 at 09:23 UTC | |
by Anonymous Monk on May 10, 2012 at 13:54 UTC |
In Section
Seekers of Perl Wisdom