File Coverage

lib/Config/Pound/Node/IP.pm
Criterion Covered Total %
statement 3 4 75.0
branch n/a
condition n/a
subroutine 1 2 50.0
pod 1 1 100.0
total 5 7 71.4


line stmt bran cond sub pod time code
1             package Config::Pound::Node::IP;
2 3     3   18 use parent 'Config::Proxy::Node';
  3         37  
  3         17  
3              
4             =head1 NAME
5              
6             Config::Pound::Node::IP - IP address or CIDR from Pound ACL.
7              
8             =head1 DESCRIPTION
9              
10             Objects of this type represent IP addresses or CIDRs from an
11             B section in Pound configuration section.
12              
13             =head1 METHODS
14              
15             See B for a discussion of methods. In addition to
16             those the following method is supported by nodes of this type:
17              
18             =head2 ip
19              
20             $addr = $node->ip
21              
22             Returns the IP address (CIDR) in unquoted form.
23              
24             =head1 SEE ALSO
25              
26             L, L, L.
27              
28             =cut
29              
30 0     0 1   sub ip { shift->kw }
31              
32             1;
33              
34            
35