I would think that the line next unless $key; is not necessary ... right? Or are there situations where this may be needed?... foreach $key (sort keys %{$obj->somehash}) { next unless $key; ...
In reply to Is this "next unless $keys" necessary? by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |