| 1 | package Message::Passing::Filter::All; | ||
| 2 | 2 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use namespace::clean -except => 'meta'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 2 | with 'Message::Passing::Role::Filter'; | |
| 6 | |||
| 7 | sub filter { | ||
| 8 | 1 | ▶ | return; |
|
Subroutine
filter: called CC=1 SCAR=0.0
Pod
documented
| |||
| 9 | } | ||
| 10 | |||
| 11 | |||
| 12 | 2 | 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 | ||