| 1 | package Net::DNS::RR::CDS; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | our $VERSION = (qw$Id: CDS.pm 2003 2025-01-21 12:06:06Z willem $)[2]; | |||||||||
| 6 | |||||||||||
| 7 | 1 | ▶ | use base qw(Net::DNS::RR::DS); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | |||||||||||
| 10 | =head1 NAME | ||||||||||
| 11 | |||||||||||
| 12 | Net::DNS::RR::CDS - DNS CDS resource record | ||||||||||
| 13 | |||||||||||
| 14 | =cut | ||||||||||
| 15 | |||||||||||
| 16 | 1 | ▶ | use integer; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 17 | |||||||||||
| 18 | |||||||||||
| 19 | 14 | ▶ | sub algorithm { | ||||||||
|
Subroutine
algorithm: called CC=3 SCAR=11.0
Pod
documented
| |||||||||||
| 20 | 14 | my ( $self, $arg ) = @_; | |||||||||
| 21 | 14 | ▶ | return $self->SUPER::algorithm($arg) if $arg; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 22 | 8 | ▶ | return $self->SUPER::algorithm() unless defined $arg; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | 2 | @{$self}{qw(keytag algorithm digtype digestbin)} = ( 0, 0, 0, chr(0) ); | |||||||||
| 24 | 2 | return; | |||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | |||||||||||
| 28 | 12 | ▶ | sub digtype { | ||||||||
|
Subroutine
digtype: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 29 | 12 | my ( $self, $arg ) = @_; | |||||||||
| 30 | 12 | ▶ | return $self->SUPER::digtype($arg) if $arg; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 31 | 7 | return $self->SUPER::digtype(); | |||||||||
| 32 | } | ||||||||||
| 33 | |||||||||||
| 34 | |||||||||||
| 35 | 1 | 1; | |||||||||
| 36 | __END__ | ||||||||||