Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How do I print a quotation-mark?

by turnstep (Parson)
on Aug 11, 2000 at 21:16 UTC ( [id://27547]=note: print w/replies, xml ) Need Help??


in reply to How do I print a quotation-mark?

Use some other string delimter, such as single quote (') or qq (as in qq(...) or qq/.../):
print qq[And vroom said "Let there be nodes!" and there were nodes.\n] +;
Use a "here-document" syntax:
print <<"WALDO"; "Where is Waldo?" asked the creature? It replied "On the next line!" WALDO

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-24 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found