Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Avoiding silly programming mistakes

by Skeeve (Vicar)
on Aug 20, 2008 at 09:50 UTC ( #705460=note: print w/replies, xml ) Need Help??

in reply to Avoiding silly programming mistakes

Yesterday I had a 'DOH' moment twice. One moment twice? Yes ;-) The second one was a deja-vu because it was the same mistake in the same sub at another position.

What I learned from it is: NEVER EVER use if ( $somevariable ) if you really wanted if ( $somevariable ne '' )


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://705460]
[Eily]: maybe you could crash the python compiler instead
[LanX]: Larry the greatest
[LanX]: hmm this joke may be too old for millennials
[LanX]: s/joke/reference/
[Eily]: well, I didn't get the joke and I didn't get the image either because the proxy won't let me

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (15)
As of 2017-03-23 17:39 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (292 votes). Check out past polls.