madM has asked for the wisdom of the Perl Monks concerning the following question:
and i want to create a 3x3 @array of arrays like this:%HoH = ( A => { A => "1", B => "4", C => "2", }, B => { A => "4", B => "10", C => "3", }, C => { A => "2", B => "3", C => "9", }, );
does anybody has any suggestions? Thanks!@array=( [1, 4, 2], [4, 10, 3], [2, 3, 9]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Convert hash into an array based matrix
by choroba (Cardinal) on Aug 13, 2013 at 14:03 UTC | |
by Loops (Curate) on Aug 13, 2013 at 14:10 UTC | |
|
Re: Convert hash into an array based matrix
by NetWallah (Canon) on Aug 13, 2013 at 14:08 UTC | |
|
Re: Convert hash into an array based matrix
by Loops (Curate) on Aug 13, 2013 at 13:58 UTC | |
|
Re: Convert hash into an array based matrix
by AnomalousMonk (Archbishop) on Aug 13, 2013 at 20:28 UTC | |
|
Re: Convert hash into an array based matrix
by Anonymous Monk on Aug 13, 2013 at 14:07 UTC |