in reply to RE: (tye)Re: Structured Printing of Hash of Arrays
in thread Structured Printing of Hash of Arrays

And even smarter if the list is long (although I'm replacing something that had only two items in the list):
sub def { defined $_ and return $_ for @_; ""; }

-- Randal L. Schwartz, Perl hacker