in reply to Re^3: Looking for less code
in thread Looking for less code
Point 1: You should run with both "warnings" and "strict" enabled.I know. Still it's not an error, and still you should also use Data::Dumper (or better) for debugging (and then you don't even get a warning). But didn't I say that already?
Point 2: I recommend taking some 'C' classes and you will understand the difference between "undef" and "zero".
How do C classes help me here? To understand that an undef doesn't create an IV?
I also know the difference between 0 and undef in perl. How does that relate to my second point? Both evaluate to false in boolean context, without warning.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Looking for less code
by Marshall (Canon) on Aug 11, 2009 at 09:35 UTC |