File Coverage

blib/lib/POEx/IRC/Backend/Connector.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package POEx::IRC::Backend::Connector;
2             $POEx::IRC::Backend::Connector::VERSION = '0.030002';
3 1     1   20919 use Moo;
  1         14021  
  1         8  
4             with 'POEx::IRC::Backend::Role::Socket',
5             'POEx::IRC::Backend::Role::HasEndpoint';
6              
7             has bindaddr => (
8             lazy => 1,
9             is => 'ro',
10             predicate => 1,
11             default => sub { '' },
12             );
13              
14             1;
15              
16             =pod
17              
18             =for Pod::Coverage has_\w+
19              
20             =head1 NAME
21              
22             POEx::IRC::Backend::Connector - An outgoing IRC socket connector
23              
24             =head1 DESCRIPTION
25              
26             These objects contain details regarding
27             L outgoing connector sockets.
28              
29             This class consumes the following roles:
30              
31             L
32              
33             L
34              
35             ... and adds the following attributes:
36              
37             =head2 bindaddr
38              
39             The local address this Connector should bind to.
40              
41             Predicate: B
42              
43             =head1 AUTHOR
44              
45             Jon Portnoy
46              
47             =cut