in reply to Re: accessing elements inside Math::Matrix
in thread accessing elements inside Math::Matrix

Slice didn't do what I'd expected; in particular, the result from above was after I'd taken the slice. Frankly, subclassing someone else's class is too much work (although an accessor that pulls out a particular element of the matrix would make sense). The next comment, however, gave me the cleaner answer I was looking for -- the reference ->[0][0].
  • Comment on Re^2: accessing elements inside Math::Matrix