File Coverage

blib/lib/Syntax/Keyword/Junction.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod 4 4 100.0
total 24 24 100.0


line stmt bran cond sub pod time code
1             package Syntax::Keyword::Junction;
2              
3 10     10   1090068 use strict;
  10         28  
  10         446  
4 10     10   58 use warnings;
  10         23  
  10         1334  
5              
6             our $VERSION = '0.003008'; # VERSION
7              
8             # ABSTRACT: Perl6 style Junction operators in Perl5
9              
10             require Syntax::Keyword::Junction::All;
11             require Syntax::Keyword::Junction::Any;
12             require Syntax::Keyword::Junction::None;
13             require Syntax::Keyword::Junction::One;
14              
15 10         169 use Sub::Exporter::Progressive -setup => {
16             exports => [qw( all any none one )],
17             groups => {
18             default => [qw( all any none one )],
19             # for the switch from Exporter
20             ALL => [qw( all any none one )],
21             },
22 10     10   8147 };
  10         10917  
23              
24 118     118 1 1302 sub all { Syntax::Keyword::Junction::All->new(@_) }
25 87     87 1 515 sub any { Syntax::Keyword::Junction::Any->new(@_) }
26 91     91 1 454 sub none { Syntax::Keyword::Junction::None->new(@_) }
27 106     106 1 583 sub one { Syntax::Keyword::Junction::One->new(@_) }
28              
29             1;
30              
31             __END__