Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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: $!";

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://481954]
[shmem]: thanks vrk - but I'll rather have a plate of "silly con charme"
Lady_Aleena is trying to explain perl regexen to people right now and explaining how variables expand in regexen.
[Lady_Aleena]: The people I'm talking with think /$var/ looks weird with some saying it shouldn't work.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-04-28 09:43 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (520 votes). Check out past polls.