http://www.perlmonks.org?node_id=868507


in reply to Convert matrix formats

You might be looking for the PDL modules, in particular the 2D matrix manipulation modules.