Subject: | Class::Load::XS prereq not installed |
Installed MongoDB via CPAN:
$ sudo cpan MongoDB
All appeared fine, but on running, received this error:
Can't locate Class/Load/XS.pm in @INC (@INC contains ...)
at /usr/local/share/perl5/Module/Runtime.pm line 198.
I installed the requested module:
$ sudo cpan Class::Load::XS
and everything worked again. So I'm guessing that the XS version did not
get marked as a dependency somewhere.
Perl is 5.10.1.