Perl never really seemed to support multiple dimensioned arrays well until recently.I hope you're using an updated version. You should be using the C look-alike matrix access like $matrix[1][4] instead of the comma stuff.
AgentM Systems nor Nasca Enterprises nor
Bone::Easy nor Macperl is responsible for the
comments made by
AgentM. Remember, you can build any logical system with NOR.