in reply to (tye)Re: Structured Printing of Hash of Arrays
in thread Structured Printing of Hash of Arrays
Another way might be:sub def { return defined $_[0] ? $_[0] : def($_[1],""); }
sub def { (grep defined, @_, "")[0]; }
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: (tye)Re: Structured Printing of Hash of Arrays
by merlyn (Sage) on Oct 12, 2000 at 01:58 UTC |