line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooX::Role::Pluggable::Constants; |
2
|
|
|
|
|
|
|
$MooX::Role::Pluggable::Constants::VERSION = '1.001002'; |
3
|
2
|
|
|
2
|
|
90123
|
use strictures 2; |
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
51
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
sub EAT_NONE () { 1 } |
6
|
|
|
|
|
|
|
sub EAT_CLIENT () { 2 } |
7
|
|
|
|
|
|
|
sub EAT_PLUGIN () { 3 } |
8
|
|
|
|
|
|
|
sub EAT_ALL () { 4 } |
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
2
|
|
449
|
use parent 'Exporter'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our @EXPORT = qw/ |
13
|
|
|
|
|
|
|
EAT_NONE |
14
|
|
|
|
|
|
|
EAT_CLIENT |
15
|
|
|
|
|
|
|
EAT_PLUGIN |
16
|
|
|
|
|
|
|
EAT_ALL |
17
|
|
|
|
|
|
|
/; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=pod |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=begin Pod::Coverage |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
EAT.+ |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=end Pod::Coverage |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 NAME |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
MooX::Role::Pluggable::Constants - MooX::Role::Pluggable EAT values |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 SYNOPSIS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
## Import EAT_NONE, EAT_CLIENT, EAT_PLUGIN, EAT_ALL : |
37
|
|
|
|
|
|
|
use MooX::Role::Pluggable::Constants; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 DESCRIPTION |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Exports constants used by L: |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
EAT_NONE => 1 |
44
|
|
|
|
|
|
|
EAT_CLIENT => 2 |
45
|
|
|
|
|
|
|
EAT_PLUGIN => 3 |
46
|
|
|
|
|
|
|
EAT_ALL => 4 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
These are used by plugins to control the lifetime of a plugin-processed |
49
|
|
|
|
|
|
|
event. See L for details. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 AUTHOR |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Jon Portnoy , borrowing from |
54
|
|
|
|
|
|
|
L |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=cut |