We don't bite newbies here... much | |
PerlMonks |
Re^2: the if statementby chrism01 (Friar) |
on Sep 29, 2008 at 08:17 UTC ( [id://714270]=note: print w/replies, xml ) | Need Help?? |
In this particular case, the desired value is always 'true', but Funkymonk's soln would fail if it was 'false' eg 0 (zero) or undef. toolic's soln tells you there's a hash entry there, even if the associated value is 'false' or undef. :)
In Section
Seekers of Perl Wisdom
|
|