Re: [Nmap-scanner-general] Need a little help withexamplefromperldoc
Brought to you by:
perldork
From: Dukes C. <Clayton.Dukes@HCAhealthcare.com> - 2006-11-03 18:47:58
|
K, I feel dumb now -- sorry :-) Now I'm back to: Can't locate object method "address" via package "Nmap::Scanner::Address I looked at he class file and see: class 'Nmap::Scanner::Address' =3D> { qw(addr $ addrtype $ vendor $), '&as_xml' =3D> q!return qq(<address addr=3D"$addr" ) . qq(addrtype=3D"$addrtype" ) . qq(vendor=3D"$vendor"/>);! }; So should "address" be "addr"? =20 -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Max Sent: Friday, November 03, 2006 11:14 AM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Need a little help withexamplefromperldoc Install Class::Generate :), it is a CPAN module, when you ran perl Makefile.PL You should have seen a warning that Class:Generate was a pre-requisite and was not found, the module has these dependencies (from Makefile.PL): 'PREREQ_PM' =3D> { 'IPC::Open3' =3D> 0, 'XML::SAX' =3D> 0, 'Class::Generate' =3D> 0, 'File::Temp' =3D> 0, 'LWP::UserAgent' =3D> 0 } Regards, Max On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > Hrm... > So just to be sure, I grabbed v1..0 just now and did a make and make=20 > install and now I get: > > Can't locate Class/Generate.pm in @INC (@INC contains: /etc/perl=20 > /usr/lib/perl5/site_perl/5.8.7/i386-linux=20 > /usr/lib/perl5/site_perl/5.8.7 > /usr/lib/perl5/site_perl/5.8.6=20 > /usr/lib/perl5/site_perl/5.8.6/i386-linux > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux > /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6=20 > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7=20 > /usr/local/lib/site_perl .) at=20 > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line 61. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line 61. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > Compilation failed in require at ./synping.pl line 24. > BEGIN failed--compilation aborted at ./synping.pl line 24. > > > -----Original Message----- > From: Dukes Clayton > Sent: Friday, November 03, 2006 10:39 AM > To: 'Nmap::Scanner list' > Subject: RE: [Nmap-scanner-general] Need a little help=20 > withexamplefromperldoc > > Ok, so now I get: > Can't locate object method "address" via package=20 > "Nmap::Scanner::Address" > > Heh > > > -----Original Message----- > From: nma...@li... > [mailto:nma...@li...] On Behalf=20 > Of Max > Sent: Friday, November 03, 2006 2:40 AM > To: Nmap::Scanner list > Subject: Re: [Nmap-scanner-general] Need a little help=20 > withexamplefromperldoc > > Change ->name() to ->hostname(). > > - Max > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > Not sure I follow you -- change what? > > > > > > -----Original Message----- > > From: nma...@li... > > [mailto:nma...@li...] On=20 > > Behalf Of Max > > Sent: Thursday, November 02, 2006 4:05 PM > > To: Nmap::Scanner list > > Subject: Re: [Nmap-scanner-general] Need a little help with=20 > > examplefromperldoc > > > > I will check my perldoc again, please let me know if changing the=20 > > name > > > of that getter resolves your issue. > > > > Thank you, > > Max > > > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > > Hmmm, > > > Coulda sworn I grabbed 1.0 last night...perhaps not > > > > -------------------------------------------------------------------- > > -- > > -- > > - > > Using Tomcat but need to do more? Need to support web services,=20 > > security? > > Get stuff done quickly with pre-integrated technology to make your=20 > > job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 12 > > 16 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > -------------------------------------------------------------------- > > -- > > --- Using Tomcat but need to do more? Need to support web services,=20 > > security? > > Get stuff done quickly with pre-integrated technology to make your=20 > > job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 12 > > 16 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > ---------------------------------------------------------------------- > -- > - > Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general |