in reply to creating a matrix

...depending on what calculations you intend to do with your matrix, you might want to use PDL and create piddles..... it is much faster than standard Perl math

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku