line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Markdent::Role::EventAsText; |
2
|
|
|
|
|
|
|
|
3
|
35
|
|
|
35
|
|
21607
|
use strict; |
|
35
|
|
|
|
|
99
|
|
|
35
|
|
|
|
|
1248
|
|
4
|
35
|
|
|
35
|
|
216
|
use warnings; |
|
35
|
|
|
|
|
83
|
|
|
35
|
|
|
|
|
1099
|
|
5
|
35
|
|
|
35
|
|
215
|
use namespace::autoclean; |
|
35
|
|
|
|
|
90
|
|
|
35
|
|
|
|
|
350
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.40'; |
8
|
|
|
|
|
|
|
|
9
|
35
|
|
|
35
|
|
3320
|
use Moose::Role; |
|
35
|
|
|
|
|
94
|
|
|
35
|
|
|
|
|
318
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
requires 'as_text'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ABSTRACT: Indicates that an event has an as_text method |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__END__ |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=pod |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=encoding UTF-8 |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 NAME |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Markdent::Role::EventAsText - Indicates that an event has an as_text method |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 VERSION |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
version 0.40 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 DESCRIPTION |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
An event with an as_text method will do this role. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 REQUIRED METHODS |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=over 4 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item * $handler->as_text |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=back |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 BUGS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
See L<Markdent> for bug reporting details. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 SOURCE |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 AUTHOR |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This software is copyright (c) 2021 by Dave Rolsky. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
64
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
The full text of the license can be found in the |
67
|
|
|
|
|
|
|
F<LICENSE> file included with this distribution. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=cut |