Thread

Posted on Mon Aug 1 16:05:43 2005 by ksenior
Can't locate object method get_host_objects
Hi all. I've Perl 5.8.3 installed and just installed Nmap::Parser, but I'm getting the following error: Can't locate object method "get_host_objects" via package "Nmap::Parser" Indeed, I do not see such a method in the Parser.pm file, which is the latest version. Has that method been removed or replaced with a method of a different name? Thanks, Ken Senior
Direct Responses: 819 | Write a response
Posted on Mon Aug 1 17:54:36 2005 by apersaud in response to 818
Re: Can't locate object method get_host_objects
Please see the documentation. This method has been replaced by all_hosts().
all_hosts() all_hosts($status)
Returns an array of all the Nmap::Parser::Host objects for the scan. If the optional status is given, it will only return those hosts that match that status. The status can be any of the following: (up|down|unknown|skipped)
Write a response