line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
$HackaMol::Roles::NameRole::VERSION = '0.053'; |
2
|
|
|
|
|
|
|
#ABSTRACT: provides name attribute |
3
|
|
|
|
|
|
|
use 5.008; |
4
|
20
|
|
|
20
|
|
12306
|
use Moose::Role; |
|
20
|
|
|
|
|
63
|
|
5
|
20
|
|
|
20
|
|
107
|
|
|
20
|
|
|
|
|
35
|
|
|
20
|
|
|
|
|
144
|
|
6
|
|
|
|
|
|
|
has 'name', is => 'rw', isa => 'Str', predicate => 'has_name' , clearer => 'clear_name'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
no Moose::Role; |
9
|
20
|
|
|
20
|
|
91373
|
|
|
20
|
|
|
|
|
46
|
|
|
20
|
|
|
|
|
98
|
|
10
|
|
|
|
|
|
|
1; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=pod |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
HackaMol::Roles::NameRole - provides name attribute |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 VERSION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
version 0.053 |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
simple role for the shared attribute 'name'. isa Str that is rw. useful for labeling, |
26
|
|
|
|
|
|
|
bookkeeping... |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 AUTHOR |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Demian Riccardi <demianriccardi@gmail.com> |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
This software is copyright (c) 2017 by Demian Riccardi. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
37
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |