in reply to Is this "next unless $keys" necessary?
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