line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Role::HasMessage 0.007; |
2
|
1
|
|
|
1
|
|
514
|
use Moose::Role; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: a thing with a message method |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
6
|
|
|
|
|
|
|
#pod |
7
|
|
|
|
|
|
|
#pod This is another extremely simple role. A class that includes |
8
|
|
|
|
|
|
|
#pod Role::HasMessage is promising to provide a C<message> method that |
9
|
|
|
|
|
|
|
#pod returns a string summarizing the message or event represented by the object. |
10
|
|
|
|
|
|
|
#pod It does I<not> provide any actual behavior. |
11
|
|
|
|
|
|
|
#pod |
12
|
|
|
|
|
|
|
#pod =cut |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
requires 'message'; |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
4590
|
no Moose::Role; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=pod |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=encoding UTF-8 |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 NAME |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Role::HasMessage - a thing with a message method |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 VERSION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
version 0.007 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 DESCRIPTION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
This is another extremely simple role. A class that includes |
36
|
|
|
|
|
|
|
Role::HasMessage is promising to provide a C<message> method that |
37
|
|
|
|
|
|
|
returns a string summarizing the message or event represented by the object. |
38
|
|
|
|
|
|
|
It does I<not> provide any actual behavior. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 PERL VERSION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This library should run on perls released even a long time ago. It should work |
43
|
|
|
|
|
|
|
on any version of perl released in the last five years. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
46
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
47
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
48
|
|
|
|
|
|
|
the minimum required perl. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 AUTHOR |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Ricardo Signes <cpan@semiotic.systems> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 CONTRIBUTOR |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=for stopwords Ricardo Signes |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Ricardo Signes <rjbs@semiotic.systems> |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo Signes. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
65
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=cut |