line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Message::Passing::Filter::All; |
2
|
2
|
|
|
2
|
|
1530
|
use Moo; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
16
|
|
3
|
2
|
|
|
2
|
|
659
|
use namespace::clean -except => 'meta'; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
25
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
with 'Message::Passing::Role::Filter'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub filter { |
8
|
1
|
|
|
1
|
1
|
3
|
return; |
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 NAME |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Message::Passing::Filter::All - Filter all messages out. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 DESCRIPTION |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
This filter just removes all messages, not passing any through. |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
You would normally never want to use this, but it can be useful for |
23
|
|
|
|
|
|
|
testing occasionally. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 METHODS |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head2 filter |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Universally returns undef |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 SPONSORSHIP |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
This module exists due to the wonderful people at Suretec Systems Ltd. |
34
|
|
|
|
|
|
|
<http://www.suretecsystems.com/> who sponsored its development for its |
35
|
|
|
|
|
|
|
VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with |
36
|
|
|
|
|
|
|
the SureVoIP API - |
37
|
|
|
|
|
|
|
<http://www.surevoip.co.uk/support/wiki/api_documentation> |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 AUTHOR, COPYRIGHT AND LICENSE |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
See L<Message::Passing>. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=cut |