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

Re: Is undef equal to zero

by quester (Vicar)
on May 02, 2008 at 06:37 UTC ( [id://684104]=note: print w/replies, xml ) Need Help??


in reply to Is undef equal to zero

... and you aren't getting any warnings about this because you didn't use  perl -w.   An even better way of getting useful warnings is to use following two lines, which you will want to commit to memory and use at the beginning of any script that shows the least sign of a bug:
use warnings; use strict;
If you want very verbose mini-tutorials instead of a short messages, add
use diagnostics;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-04-18 07:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found