Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Keep It Simple, Stupid
 
PerlMonks  

Re^2: In Love With Double Quotes

by trammell (Priest)
on Aug 08, 2005 at 18:02 UTC ( #481954=note: print w/ replies, xml ) Need Help??


in reply to Re: In Love With Double Quotes
in thread In Love With Double Quotes

I can think of two reasons to use " by default instead of ':

  1. To disambiguate when using lots of `s, if your font isn't clear
  2. Easier to write text that uses contractions, e.g.
    open(my $fh, '/etc/motd') || die "Can't open /etc/motd: $!";
YMMV.


Comment on Re^2: In Love With Double Quotes
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-04-17 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls