in reply to Fast matrix multiplication

That is an elegant solution. There is nothing that says you cannot use Fortran to do something Fortran is good at and Perl isn't.

Now, I would launch the Fortran executable from within the Perl, but that's just me. :-)

------
We are the carpenters and bricklayers of the Information Age.

The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.