perl@1983 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
What can be the reason that I get "sh: -c: line 1: syntax error near unexpected token `|'" error while including below in my Perl code?
Note: $cmd is a string that contains '------' pattern. Thanks in advance.`echo $cmd | grep '\-\-\-\-'`
Back to
Seekers of Perl Wisdom