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.
How can I undo this mess?
I have heard that it is best to not install modules from CPAN where your system's version of Perl is.
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
I've written a small web application in Perl and I want to package it up so others can use it. My application has the following components
Various Perl modules from CPAN
My own modules
A MySQLdatabase
Apache2 configuration
I'm not really sure where to start. Any help is much appreciated
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?
Error message:
WARNING: Net::DBus::GLib is missing --> Ubuntu One support will be disabled!
WARNING: Image::ExifTool is missing --> writing Exif information will be disabled!
Can't locate Pod/Usage.pm in @INC (@INC contains: /usr/share/shutter/resources/modules /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/p
I'm trying to install VMware-vSphere-CLI-5.0.0-422456.x86_64 onto CentOS 6.0 64bit, but the installer complains:
CPAN not able to install following Perl modules on the system.
I work in an environment where we are slowly transitioning machines from Red Hat Enterprise Linux 5 to RHEL 6.
I need some of my scripts to do something subtly different on RHEL6 machines to what is currently being done on RHEL5 machines.
The pragmatic solution is to check at runtime and run some commands on RHEL5, others on RHEL6 and some on both.
A practical example of this is that we are usi