in reply to
Escaping characters in one-liners
For bourne-shell-likes you use single quote ('), as mentioned in previous post. If you want to print single quotes from within your one-liner, you can use
print chr(047)
[download]
Makes it harder to keep your code on 1 line though ...
Comment on
Re: Escaping characters in one-liners
Download
Code
In Section
Seekers of Perl Wisdom