line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Fey::Role::Named; |
2
|
|
|
|
|
|
|
|
3
|
27
|
|
|
27
|
|
27341
|
use strict; |
|
27
|
|
|
|
|
99
|
|
|
27
|
|
|
|
|
1190
|
|
4
|
27
|
|
|
27
|
|
141
|
use warnings; |
|
27
|
|
|
|
|
51
|
|
|
27
|
|
|
|
|
905
|
|
5
|
27
|
|
|
27
|
|
137
|
use namespace::autoclean; |
|
27
|
|
|
|
|
50
|
|
|
27
|
|
|
|
|
258
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.43'; |
8
|
|
|
|
|
|
|
|
9
|
27
|
|
|
27
|
|
2893
|
use Moose::Role; |
|
27
|
|
|
|
|
3436
|
|
|
27
|
|
|
|
|
235
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
requires 'name'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ABSTRACT: A role for things with a name |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__END__ |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=pod |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Fey::Role::Named - A role for things with a name |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 VERSION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
version 0.43 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
use Moose 2.1200; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
with 'Fey::Role::Named'; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 DESCRIPTION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
This role has no methods or attributes of its own, it simply requires |
38
|
|
|
|
|
|
|
that the consuming class provide a C<name()> method. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 BUGS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
See L<Fey> for details on how to report bugs. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This software is Copyright (c) 2011 - 2015 by Dave Rolsky. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This is free software, licensed under: |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The Artistic License 2.0 (GPL Compatible) |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=cut |