Max Schubert > Nmap-Scanner > Nmap::Scanner::HostList

Download:
Nmap-Scanner-1.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View Bugs
Report a bug
Source  

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.