in reply to Re: Custom printing of an HoA
in thread Custom printing of an HoA

blokhead,
You may want to modify your map line:
my @ith_data = map { defined $data{$_}[$i] ? $data{$_}[$i] : '' } @key +s;
This way 0 and "0" will not get changed to "".

Cheers - L~R