I was attempting to upgrade my Perl modules through CPAN, but I did not supply a regex/module name to upgrade: perl -MCPAN -e 'upgrade'; I can only assume the worst (which seems to be supported by the output of perldoc perllocal), i.e. all Perl modules from CPAN are installing.
I'm migrating from one server to another and using perl -MCPAN -eautobundle to work out which modules I should be bringing along.
Some modules are a bit problematic at install-time though (mainly due to relying on non-perl libraries etc), and it would be good to be able to see a list of the modules that it wants to install/update, rather than doing a full install of the bundle and looking at larg
You probably have Data::Dumper installed under site_perl, along with an old Time::HiRes according to your cpan output. The cpan shell installs modules under site_perl. They are harder to uninstall than packaged modules because you have to remove them manually by deleting the files. I'd recommend using either cpan or perl packaged modules but not both.
I have some custom functions which i want to use in perl Scripting all time.
i want to How to create modules in perl and how to import them.
Also if i create 15 modules and i want to > import all at once then how can i import?