![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: What are all the false values in Perl ((conditionalby swiftone (Curate) |
on Sep 22, 2000 at 19:36 UTC ( #33642=note: print w/replies, xml ) | Need Help?? |
You forgot undef, which is also false.
To check to see if there are characters in $script::debug that aren't printing you can always check the length of $string::debug. Update: Just thought of this: are you putting a \n in the variable? Because "0\n" is not "0".
In Section
Seekers of Perl Wisdom
|
|