Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

advocate's scratchpad

by advocate (Scribe)
on Jul 04, 2007 at 15:10 UTC ( #624901=scratchpad: print w/replies, xml ) Need Help??

note to self re: single-quoted strings & double-quoted strings #!/usr/bin/perl

use warnings;

print qq/'"Hi," said Jack. "Have you read Slashdot today?"'\n/;



use warnings;

print qq|'"Hi," said Jack. "Have you read /. today?"'\n|;

print qq#'"Hi," said Jack. "Have you read /. today?"'\n#;

print qq('"Hi," said Jack. "Have you read /. today?"'\n);

print qq<'"Hi," said Jack. "Have you read /. today?"'\n>;

Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2016-10-26 06:00 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (336 votes). Check out past polls.