in reply to Matrix Multiplication Problem

also have a look at Math::Matrix