Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Stupid mistakes I repeatedly make

by pajout (Curate)
on Nov 29, 2005 at 15:01 UTC ( #512661=note: print w/replies, xml ) Need Help??


in reply to Stupid mistakes I repeatedly make

My favorite mistake, inherited from C:
if ($var = 1)

Replies are listed 'Best First'.
Re^2: Stupid mistakes I repeatedly make
by martin (Friar) on Feb 03, 2006 at 20:25 UTC
    My cure for that mistake (also inherited from C):
    if (1 == $var)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://512661]
help
Chatterbox?
and the pool shimmers...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-11-25 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (355 votes). Check out past polls.

    Notices?