[CentOS] why type "perl -MCPAN -e shell" -> "install XML::Simple" on CentOS 5?

Jim Perrin jperrin at gmail.com
Tue Oct 30 19:49:26 UTC 2007

On 10/30/07, Rogelio <scubacuda at gmail.com> wrote:
> I'm running nmap2nagios.pl, and I notice that on CentOS 5, I had to
> run the following to get it working (when I didn't have to do the same
> on CentOS 4)
> perl -MCPAN -e shell
> (answer questions)
> > install XML::Simple
> Why is that?

Because for some insane reason you chose to go about things the hard
(and potentially dangerous) way instead of 'yum install
perl-XML-Simple' from the base repository.

Please don't make me get out my soap box regarding package management.

During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

More information about the CentOS mailing list