Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: What are all the false values in Perl ((conditionalby kilinrax (Deacon) |
on Sep 22, 2000 at 19:44 UTC ( [id://33644]=note: print w/replies, xml ) | Need Help?? |
If $script::debug == "\0", then it will appear empty, but evaluate as true. print "\Q$script::debug" would backslash all special characters, which would at least indicate their existence, though not their nature. TMTOWTDI, though there's probably a better way ;-) Update: Should give you the ascii codes of each character in $script::debug, which will hopefully be useful.
In Section
Seekers of Perl Wisdom
|
|