I'm not convinced that you are correct:  perl -e '$foo="tada;";print "$foo\n"'

Your answer has nothing to do with the | (pipe) causing the error. Whether there is a table to describe or not, does not take away the fact that you can have as many semi-colons inside quotes as you like, Perl will not mind.

[EDIT]
Boy, there I was trying to make things clearer, and I muddy them, sorry.

suekawar, maybe your problem stems from a lack of documentation. I found nowhere on PerlMonks or Perldoc.com that explains how qx works in any simple terms.

perl -e ' > $foo = qx[ echo "Me Graq!" ]; > print "$foo"; > ' Me Graq!
Try reading http://www.perldoc.com/perl5.8.0/pod/perlop.html#Quote-and-Quote-like-Operators.

VSarkiss, I was trying to put across that for someone confused between system, qq and qx your answer might not be so clear.

<a href="http://www.graq.co.uk">Graq</a>


In reply to Re: Re: PIPE problem by graq
in thread PIPE problem by suekawar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.