Rogelio
2007-Oct-30 19:40 UTC
[CentOS] why type "perl -MCPAN -e shell" -> "install XML::Simple" on CentOS 5?
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::SimpleWhy is that?
Jim Perrin
2007-Oct-30 19:49 UTC
[CentOS] why type "perl -MCPAN -e shell" -> "install XML::Simple" on CentOS 5?
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