Re: [CentOS] perl question on CentOS

2007-10-26 Thread Garrick Staples
On Fri, Oct 26, 2007 at 11:34:39AM -0700, Rogelio alleged: > When I type in "perl" before the command, I get this: > > [EMAIL PROTECTED] nmap2nagios-0.1.2]# perl nmap2nagios.pl -v -r > /tmp/nmap.xml -o /tmp/new.cfg > > Can't locate XML/Simple.pm in @INC (@INC contains: 'yum install perl-XML-Sim

Re: [CentOS] perl question on CentOS

2007-10-26 Thread James Olin Oden
Does nmap2nagios have: #!/usr/bin/perl at the top. It looks like bash is interpreting the script. Try: perl nmap2nagios.pl (rest of options) ...james On 10/26/07, Rogelio <[EMAIL PROTECTED]> wrote: > I'm trying to use nmap2nagios (a perl script) on CentOS, but when I > run it, I get th