laziness, impatience, and hubris | |
PerlMonks |
Re: Bug in Class::Struct?by swl (Parson) |
on Apr 23, 2020 at 04:46 UTC ( [id://11115928]=note: print w/replies, xml ) | Need Help?? |
If you need a zero on fail then perhaps try being explicit with a ternary condition or by adding zero.
See also https://perlmaven.com/boolean-values-in-perl.
In Section
Seekers of Perl Wisdom
|
|