line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DNS::Oterica::Role::RecordMaker; |
2
|
|
|
|
|
|
|
# ABSTRACT: a delegation class for the DNSO recordmaker. |
3
|
|
|
|
|
|
|
$DNS::Oterica::Role::RecordMaker::VERSION = '0.304'; |
4
|
1
|
|
|
1
|
|
5
|
use Moose::Role; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
9
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
3846
|
use DNS::Oterica::RecordMaker::TinyDNS; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
9
|
|
|
|
|
|
|
#pod |
10
|
|
|
|
|
|
|
#pod C<DNS::Oterica::Role::RecordMaker> delegates to an underlying record maker. It |
11
|
|
|
|
|
|
|
#pod exposes this record maker with its C<rec> method. |
12
|
|
|
|
|
|
|
#pod |
13
|
|
|
|
|
|
|
#pod =attr rec |
14
|
|
|
|
|
|
|
#pod |
15
|
|
|
|
|
|
|
#pod The record maker, e.g. L<DNS::Oterica::RecordMaker::TinyDNS>. |
16
|
|
|
|
|
|
|
#pod |
17
|
|
|
|
|
|
|
#pod =cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
has rec => ( |
20
|
|
|
|
|
|
|
is => 'ro', |
21
|
|
|
|
|
|
|
isa => 'Str', # XXX or object doing role, etc |
22
|
|
|
|
|
|
|
default => 'DNS::Oterica::RecordMaker::TinyDNS', |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
1
|
|
6
|
no Moose::Role; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
26
|
|
|
|
|
|
|
1 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=pod |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=encoding UTF-8 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 NAME |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
DNS::Oterica::Role::RecordMaker - a delegation class for the DNSO recordmaker. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 VERSION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
version 0.304 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 DESCRIPTION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
C<DNS::Oterica::Role::RecordMaker> delegates to an underlying record maker. It |
45
|
|
|
|
|
|
|
exposes this record maker with its C<rec> method. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 rec |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
The record maker, e.g. L<DNS::Oterica::RecordMaker::TinyDNS>. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 AUTHOR |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Ricardo SIGNES <rjbs@cpan.org> |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Ricardo SIGNES. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
62
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |