Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 chilling in the Monastery: (13)
As of 2015-01-26 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (189 votes), past polls