in reply to Convert hash into an array based matrix

Loops provided a solution where values are not sorted in the inner arrays. I was just about to post a similar solution:
my @array = map [ values %{ $HoH{$_} } ], sort keys %HoH;
If you want to sort them byt he keys, you can use a bit more complicated incantation:
my @array = map { my $k = $_; [ map $HoH{$k}{$_}, sort keys %{ $HoH{$_} } ] } sort keys %HoH;
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Convert hash into an array based matrix
by Loops (Curate) on Aug 13, 2013 at 14:10 UTC
    Yes, a more complete solution. Was just about to update my post with a solution like yours. ;o)