Nmap::Scanner::HostList(3p)

  DESCRIPTION
Holds a list of Nmap::Scanner::Host objects. get_next() returns a host reference while there are hosts in the list and returns undef when the list is exhausted. Hosts are indexed and sorted internally by primary IP address.

  get_next()
Return the next Nmap::Scanner::Host from the list, or undef if the list is empty.

  as_xml()
Returns an XML string representation of all hosts in the list.