go ahead... be a heretic | |
PerlMonks |
RE: RE: for loopsby davorg (Chancellor) |
on Jun 29, 2000 at 16:51 UTC ( [id://20359]=note: print w/replies, xml ) | Need Help?? |
No. An unassigned variable contains the special value undef. This will evaluate as false under some circumstances. 0 (and, indeed, '0') also evaluates as false, which is where the confusion arises. --<http://www.dave.org.uk> European Perl Conference - Sept 22/24 2000 <http://www.yapc.org/Europe/>
In Section
Tutorials
|
|