Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 romping around the Monastery: (17)
As of 2015-07-06 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (80 votes), past polls