The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

DESCRIPTION

Holds a list of Nmap::Scanner::Port objects. get_next() returns a port reference while there are ports in the list and returns undef when the list is exhausted. Port lists are sorted internally by port number.

get_next_tcp() and get_next_udp() will return the next port of either protocol; get_next() returns first tcp then udp.