Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: To Single Quote or to Double Quote

by wolfger (Deacon)
on Feb 02, 2005 at 17:01 UTC ( #427329=note: print w/replies, xml ) Need Help??


in reply to To Single Quote or to Double Quote

Others will look at performance issues (or lack thereof). I look at the front-end of it. Using single quotes means I don't have to hit that shift key. Single quotes saves me work, so that's the only logical choice. :-)
On the other hand, using double quotes (in my opinion) makes the code more readable... So I guess it's still a toss-up.


--
Linux, sci-fi, and Nat Torkington, all at Penguicon 3.0
perl -e 'print(map(chr,(0x4a,0x41,0x50,0x48,0xa)))'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2021-10-25 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?