in reply to How to output matrix data from Math:;MatrixReal into a Hash or an Array
$perl -e ' > use strict; > use warnings; > > > my $mref = [ [ '5', '4', '4', '2', '4' ], > my $mref = [ > [ '5', '4', '4', '2', '4' ], > [ '9', '6', '4', '4', '3' ], > [ '2','73','96', '6', '8' ], > [ '2', '4', '9','87', '8' ], > [ '2', '4','10', '6', '8' ], > ]; > > for my $rows (@$mref) { > local $" = "\t"; > print "@$rows \n"; > } > ' 5 4 4 2 4 9 6 4 4 3 2 73 96 6 8 2 4 9 87 8 2 4 10 6 8
|
|---|