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.
In reply to Re^4: Looking for less code
by moritz
in thread Looking for less code
by Sun751
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |