in reply to how to get the matrix in output?

@sim is an array of arrays, you need to do

foreach my $row ( @sim ) { print OUTPUT @{ $row }, "\n"; }
you should also turn on warnings and strict.

Replies are listed 'Best First'.
Re^2: how to get the matrix in output?
by Anonymous Monk on Dec 07, 2013 at 07:59 UTC
    totally misleading...