line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strictures 2; |
3
|
1
|
|
|
1
|
|
58469
|
use Import::Into; |
|
1
|
|
|
|
|
17
|
|
|
1
|
|
|
|
|
40
|
|
4
|
1
|
|
|
1
|
|
620
|
|
|
1
|
|
|
|
|
2209
|
|
|
1
|
|
|
|
|
24
|
|
5
|
|
|
|
|
|
|
use Moose::Role (); |
6
|
1
|
|
|
1
|
|
363
|
use MooseX::ShortHas (); |
|
1
|
|
|
|
|
388648
|
|
|
1
|
|
|
|
|
38
|
|
7
|
1
|
|
|
1
|
|
557
|
|
|
1
|
|
|
|
|
430700
|
|
|
1
|
|
|
|
|
112
|
|
8
|
|
|
|
|
|
|
our $VERSION = '1.222490'; # VERSION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# ABSTRACT: Moose::Role but with less typing |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# |
13
|
|
|
|
|
|
|
# This file is part of Muuse |
14
|
|
|
|
|
|
|
# |
15
|
|
|
|
|
|
|
# |
16
|
|
|
|
|
|
|
# Christian Walde has dedicated the work to the Commons by waiving all of his |
17
|
|
|
|
|
|
|
# or her rights to the work worldwide under copyright law and all related or |
18
|
|
|
|
|
|
|
# neighboring legal rights he or she had in the work, to the extent allowable by |
19
|
|
|
|
|
|
|
# law. |
20
|
|
|
|
|
|
|
# |
21
|
|
|
|
|
|
|
# Works under CC0 do not require attribution. When citing the work, you should |
22
|
|
|
|
|
|
|
# not imply endorsement by the author. |
23
|
|
|
|
|
|
|
# |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
my $caller = caller; |
27
|
|
|
|
|
|
|
$_->import::into( $caller ) for qw( Moose::Role MooseX::ShortHas ); |
28
|
1
|
|
|
1
|
|
10
|
} |
29
|
1
|
|
|
|
|
12
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=pod |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 NAME |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Muuse::Role - Moose::Role but with less typing |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 VERSION |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
version 1.222490 |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 SYNOPSIS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
use Muuse::Role; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
ro "hro"; |
48
|
|
|
|
|
|
|
lazy hlazy => sub { 2 }; |
49
|
|
|
|
|
|
|
rwp "hrwp"; |
50
|
|
|
|
|
|
|
rw "hrw"; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 DESCRIPTION |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Mu imports both L<Moose::Role> and L<MooseX::ShortHas>, making it even less work |
55
|
|
|
|
|
|
|
in typing and reading to set up a role. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 AUTHOR |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Christian Walde <walde.christian@gmail.com> |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Christian Walde has dedicated the work to the Commons by waiving all of his |
65
|
|
|
|
|
|
|
or her rights to the work worldwide under copyright law and all related or |
66
|
|
|
|
|
|
|
neighboring legal rights he or she had in the work, to the extent allowable by |
67
|
|
|
|
|
|
|
law. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Works under CC0 do not require attribution. When citing the work, you should |
70
|
|
|
|
|
|
|
not imply endorsement by the author. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |