1 2use strict; 3 4use Class::Generate qw(class); 5 6class 'Nmap::Scanner::ExtraPorts' => { 7 qw(state $ count $), 8 '&as_xml' => q!qq(<extraports state="$self->{state}" ) . 9 qq(count="$self->{count}"/>);! 10 11}; 12 13=pod 14 15=head1 DESCRIPTION 16 17This class holds information on ports found to be not 18open on a host. 19 20=head2 state() 21 22State of the non-open ports: 'closed' or 'filtered.' 23 24=head2 count() 25 26Number of non-open ports found. 27 28=cut 29 301; 31