1 2use strict; 3use Class::Generate qw(class); 4 5class 'Nmap::Scanner::Distance' => { 6 qw(value $), 7 '&as_xml' => q! 8 9 return qq(<distance value="$value"/>); 10 11 ! 12}; 13 14=pod 15 16=head1 DESCRIPTION 17 18This class represents the hop distance nmap estimates this host is from 19the host running the scan. 20 21=head1 PROPERTIES 22 23=head2 value() 24 25=cut 26 271; 28