Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Escaping characters in one-liners

by eXile (Priest)
on Mar 12, 2005 at 02:48 UTC ( #438866=note: print w/replies, xml ) Need Help??


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)
Makes it harder to keep your code on 1 line though ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://438866]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2016-09-28 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (526 votes). Check out past polls.