| 1 | package Net::DNS::RR::SPF; | ||||||||||
| 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: SPF.pm 2003 2025-01-21 12:06:06Z willem $)[2]; | |||||||||
| 6 | |||||||||||
| 7 | 1 | ▶ | use base qw(Net::DNS::RR::TXT); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | |||||||||||
| 10 | =head1 NAME | ||||||||||
| 11 | |||||||||||
| 12 | Net::DNS::RR::SPF - DNS SPF resource record | ||||||||||
| 13 | |||||||||||
| 14 | =cut | ||||||||||
| 15 | |||||||||||
| 16 | 1 | ▶ | use integer; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 17 | |||||||||||
| 18 | |||||||||||
| 19 | 4 | ▶ | sub spfdata { | ||||||||
|
Subroutine
spfdata: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 20 | 4 | my ( $self, @argument ) = @_; | |||||||||
| 21 | 4 | my @spf = shift->char_str_list(@argument); | |||||||||
| 22 | 4 | ▶ | return wantarray ? @spf : join '', @spf; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | } | ||||||||||
| 24 | |||||||||||
| 25 | 2 | ▶ | sub txtdata { return &spfdata; } | ||||||||
|
Subroutine
txtdata: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 26 | |||||||||||
| 27 | |||||||||||
| 28 | 1 | 1; | |||||||||
| 29 | __END__ | ||||||||||