Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Is this "next unless $keys" necessary?by gone2015 (Deacon) |
on Jan 13, 2009 at 17:58 UTC ( [id://736025]=note: print w/replies, xml ) | Need Help?? |
Or, of course, to ignore a key whose value is "0" -- which is the easily forgotten case, until it's burned you enough times to prefer $key eq "". (Though !defined($s) || ($s eq "") is pug-ugly.)
In Section
Seekers of Perl Wisdom
|
|