File Coverage

blib/lib/POE/Component/Client/NNTP/Constants.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package POE::Component::Client::NNTP::Constants;
2             {
3             $POE::Component::Client::NNTP::Constants::VERSION = '2.22';
4             }
5              
6             # ABSTRACT: importable constants for POE::Component::Client::NNTP plugins.
7              
8 1     1   25332 use strict;
  1         3  
  1         46  
9 1     1   6 use warnings;
  1         2  
  1         206  
10              
11             require Exporter;
12             our @ISA = qw( Exporter );
13             our %EXPORT_TAGS = ( 'ALL' => [ qw( NNTP_EAT_NONE NNTP_EAT_CLIENT NNTP_EAT_PLUGIN NNTP_EAT_ALL ) ] );
14             Exporter::export_ok_tags( 'ALL' );
15              
16             # Our constants
17             sub NNTP_EAT_NONE () { 1 }
18             sub NNTP_EAT_CLIENT () { 2 }
19             sub NNTP_EAT_PLUGIN () { 3 }
20             sub NNTP_EAT_ALL () { 4 }
21              
22             1;
23              
24              
25             __END__