http://qs321.pair.com?node_id=736007

Plankton has asked for the wisdom of the Perl Monks concerning the following question:

... foreach $key (sort keys %{$obj->somehash}) { next unless $key; ...
I would think that the line next unless $key; is not necessary ... right? Or are there situations where this may be needed?