Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: printing a single quote in a string when using -e option

by moxliukas (Curate)
on Jul 24, 2003 at 06:48 UTC ( #277450=note: print w/ replies, xml ) Need Help??


in reply to printing a single quote in a string when using -e option

Try using quoting operators (for more information see perlop: qoute an quote like operators):

perl -e "print q{'}"

The above prints a single quote as expected.

Comment on Re: printing a single quote in a string when using -e option
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2016-04-28 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (437 votes). Check out past polls.