line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ## Hide from PAUSE |
2
|
|
|
|
|
|
|
MooseX::Meta::TypeConstraint::Structured::Optional; |
3
|
|
|
|
|
|
|
|
4
|
20
|
|
|
20
|
|
111
|
use Moose; |
|
20
|
|
|
|
|
41
|
|
|
20
|
|
|
|
|
145
|
|
5
|
20
|
|
|
20
|
|
140401
|
use MooseX::Meta::TypeCoercion::Structured::Optional; |
|
20
|
|
|
|
|
54
|
|
|
20
|
|
|
|
|
2329
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
extends 'Moose::Meta::TypeConstraint::Parameterizable'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
around parameterize => sub { |
10
|
|
|
|
|
|
|
my $orig = shift; |
11
|
|
|
|
|
|
|
my $self = shift; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my $ret = $self->$orig(@_); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
$ret->coercion(MooseX::Meta::TypeCoercion::Structured::Optional->new(type_constraint => $ret)); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
return $ret; |
18
|
|
|
|
|
|
|
}; |
19
|
|
|
|
|
|
|
|
20
|
20
|
|
|
20
|
|
118
|
no Moose; |
|
20
|
|
|
|
|
34
|
|
|
20
|
|
|
|
|
91
|
|
21
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(inline_constructor => 0); |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |