Ah! Quoted strings were stuck in my mind, probably because we were just talking about them and that's how it's done in Perl.
perl -e '$qs=quotemeta("|"); eval( qq{print "$qs"} );'
In reply to Re^4: quoting for system() and friends
by ikegami
in thread quoting for system() and friends
by pileofrogs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |