On Mar 11, Gary Stainburn (Gary Stainburn) wrote: I started off as always by using RPM's for everything I possibly can. I then started to use CPAN for everything else.
You should use cpan(m) for everything. That way all modules will be up to date and they will be installed into the same place. However, as I went for bigger modules, anything that had dependences were then failing as the dependencie were installed OK but then did not appear to be available. They are not failing; you are running cpan as root and the modules are installed in /root/perl5/ which probably isn't in your @INC, which is why they can't be found. Try: $ perl -E 'say for @INC' $ echo $PERL5LIB # echo $PERL5LIB I'd suggest to set the PERL5LIB environment variable in your shell config to something like ~/lib/perl5/. If you need the modules to be available globally and not only for a specific user, a better place would be e.g /usr/lib/perl5/* -- Magnus Woldrich japh@freenode http://japh.se https://github.com/trapd00r -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/