You can install using ppm if you like. Just run (while connected to the internet):
ppm install Math-MatrixReal
That's not making use of CPAN.pm - I'll let someone who actually uses CPAN.pm talk you through that (or provide the relevant links). I suggest, also, that you take a look at the perlmodinstall documentation.