line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tail::Tool::PreProcess; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# Created on: 2010-10-22 14:45:34 |
4
|
|
|
|
|
|
|
# Create by: Ivan Wills |
5
|
|
|
|
|
|
|
# $Id$ |
6
|
|
|
|
|
|
|
# $Revision$, $HeadURL$, $Date$ |
7
|
|
|
|
|
|
|
# $Revision$, $Source$, $Date$ |
8
|
|
|
|
|
|
|
|
9
|
7
|
|
|
7
|
|
4701
|
use Moose; |
|
7
|
|
|
|
|
317277
|
|
|
7
|
|
|
|
|
46
|
|
10
|
7
|
|
|
7
|
|
40372
|
use warnings; |
|
7
|
|
|
|
|
17
|
|
|
7
|
|
|
|
|
273
|
|
11
|
7
|
|
|
7
|
|
622
|
use version; |
|
7
|
|
|
|
|
1473
|
|
|
7
|
|
|
|
|
57
|
|
12
|
7
|
|
|
7
|
|
460
|
use Carp; |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
557
|
|
13
|
7
|
|
|
7
|
|
419
|
use English qw/ -no_match_vars /; |
|
7
|
|
|
|
|
1358
|
|
|
7
|
|
|
|
|
49
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
our $VERSION = version->new('0.4.7'); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
has post => ( |
18
|
|
|
|
|
|
|
is => 'ro', |
19
|
|
|
|
|
|
|
isa => 'Bool', |
20
|
|
|
|
|
|
|
default => 0, |
21
|
|
|
|
|
|
|
init_arg => undef, |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
has many => ( |
24
|
|
|
|
|
|
|
is => 'ro', |
25
|
|
|
|
|
|
|
isa => 'Bool', |
26
|
|
|
|
|
|
|
default => 1, |
27
|
|
|
|
|
|
|
init_arg => undef, |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__END__ |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 NAME |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Tail::Tool::PreProcess - Parent module for Plugins that perform pre-processing tasks on tailed lines. eg filtering |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 VERSION |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
This documentation refers to Tail::Tool::PreProcess version 0.4.7. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 SYNOPSIS |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
# This module is for other to extend it doesn't do anything it self. |
47
|
|
|
|
|
|
|
extends 'Tail::Tool::PreProcess'; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 DESCRIPTION |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 SUBROUTINES/METHODS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 DIAGNOSTICS |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 CONFIGURATION AND ENVIRONMENT |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 DEPENDENCIES |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 INCOMPATIBILITIES |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 BUGS AND LIMITATIONS |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
There are no known bugs in this module. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Please report problems to Ivan Wills (ivan.wills@gamil.com). |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Patches are welcome. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 AUTHOR |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Ivan Wills - (ivan.wills@gamil.com) |
72
|
|
|
|
|
|
|
<Author name(s)> (<contact address>) |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Copyright (c) 2010 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW, Australia, 2077). |
77
|
|
|
|
|
|
|
All rights reserved. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
This module is free software; you can redistribute it and/or modify it under |
80
|
|
|
|
|
|
|
the same terms as Perl itself. See L<perlartistic>. This program is |
81
|
|
|
|
|
|
|
distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
82
|
|
|
|
|
|
|
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
83
|
|
|
|
|
|
|
PARTICULAR PURPOSE. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |