| 1 | |||
| 2 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | 3 | ▶ | use Class::Generate qw(class); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | class 'Nmap::Scanner::OS::PortUsed' => { | |
| 7 | qw(state $ | ||
| 8 | proto $ | ||
| 9 | portid $), | ||
| 10 | '&as_xml' => q!qq(<portused state="$self->{state}" ) . | ||
| 11 | qq(proto="$self->{proto}" portid="$self->{portid}"/>);! | ||
| 12 | }; | ||
| 13 | |||
| 14 | =pod | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | PortUsed - Port used for OS identification | ||
| 19 | |||
| 20 | =head2 state() | ||
| 21 | |||
| 22 | =head2 proto() | ||
| 23 | |||
| 24 | =head2 portid() | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | 3 | 1; | |
| 29 | |||
| 30 | __END__; | ||