Getopt/Meta/Attribute.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
register_implementation
1.0
CRAP 1.0
« Getopt.pm ↑ Summary Getopt/Meta/Attribute/Trait.pm »
1 package MooseX::Getopt::Meta::Attribute;
2 # ABSTRACT: Optional meta attribute for custom option names
3  
4 27 our $VERSION = '0.78';
5  
6 27 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 27 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 27 extends 'Moose::Meta::Attribute'; # << Moose extending Moose :)
10 27 with 'MooseX::Getopt::Meta::Attribute::Trait';
11  
12 # register this as a metaclass alias ...
13 package # stop confusing PAUSE
14 Moose::Meta::Attribute::Custom::Getopt;
15 1 ▶sub register_implementation { 'MooseX::Getopt::Meta::Attribute' }
Subroutine register_implementation: called CC=1 SCAR=0.0
16  
17 27 1;
18  
19 __END__
« Getopt.pm ↑ Summary Getopt/Meta/Attribute/Trait.pm »