in reply to "can't locate loadable object for module" error
I just installed Math::Random via ppm:
c:\ppm
ppm>install math-random
ppm>q
Ran your two line program with no problems. Doing the same would be a good starting point.
Let us know if this helps.
Cameron