Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Coding superstitions

by Juerd (Abbot)
on Jan 08, 2002 at 00:30 UTC ( #136932=note: print w/ replies, xml ) Need Help??

in reply to Coding superstitions

I think it's much clearer _without_ the quotes. Any valid bareword will be interpreted as a string, so why not use that? Same goes for => - I don't use quotes if it being a string is obvious.

Always using quotes might make you forget about words being interpreted as strings, and you might end up using $foo{function} where you meant to use $foo{+function} / $foo{function()}.

But as _always_, style is what YOU choose. (Just remember some common style issues so others will be able to read your code :)

2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$

Comment on Re: Coding superstitions
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2015-11-30 09:20 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (768 votes), past polls