| 1 | #!/bin/false | ||
| 2 | # ABSTRACT: Solicit message (type 1) | ||
| 3 | # PODNAME: Net::DHCPv6::Message::Solicit | ||
| 4 | 15 | ▶ | use strictures 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | package Net::DHCPv6::Message::Solicit; | ||
| 7 | 15 | $Net::DHCPv6::Message::Solicit::VERSION = '0.002'; | |
| 8 | 15 | ▶ | use Net::DHCPv6::Packet; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 15 | ▶ | use Net::DHCPv6::Constants; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 15 | ▶ | use parent 'Net::DHCPv6::Packet'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 15 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | sub new { | ||
| 14 | 1 | ▶ | my ( $class, %args ) = @_; |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 15 | 1 | $args{msg_type} = $SOLICIT; | |
| 16 | 1 | return $class->SUPER::new( %args ); | |
| 17 | } | ||
| 18 | |||
| 19 | 15 | $Net::DHCPv6::Packet::MESSAGE_CLASS{$SOLICIT} = __PACKAGE__; | |
| 20 | |||
| 21 | 15 | 1; | |
| 22 | |||
| 23 | __END__ | ||