in reply to weired return of array-value

I do not know the specifics of read_multirow, but it looks like it's retuning an array of arrays. You will have to iterate over each one individually

#... code defines @my_matrix at this point foreach my $row ( @my_matrix ) { print join(', ', @{$row}), "\n"; }

Of course you will probably want headers for the output etc