File Coverage

blib/lib/Syntax/Feature/Junction.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition 2 2 100.0
subroutine 3 3 100.0
pod 0 1 0.0
total 16 17 94.1


line stmt bran cond sub pod time code
1             package Syntax::Feature::Junction;
2              
3 2     2   282584 use strict;
  2         6  
  2         96  
4 2     2   12 use warnings;
  2         4  
  2         382  
5              
6             our $VERSION = '0.003008'; # VERSION
7              
8             # ABSTRACT: Provide keywords for any, all, none, or one
9              
10             require Syntax::Keyword::Junction;
11              
12             sub install {
13 2     2 0 48 my ($class, %args) = @_;
14              
15 2         8 my $target = $args{into};
16 2   100     95 my $options = $args{options} || {};
17              
18 2         31 Syntax::Keyword::Junction->import({ into => $target }, %$options );
19              
20 2         2731 return 1;
21             }
22              
23             1;
24              
25             __END__