Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 ...


Comment on Re: Escaping characters in one-liners
Download Code

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 exploiting the Monastery: (4)
As of 2014-07-26 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (177 votes), past polls