| 1 | package Markdent::Handler::Null; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | use namespace::autoclean; | ||
| 6 | |||
| 7 | our $VERSION = '0.39'; | ||
| 8 | |||
| 9 | use Moose; | ||
| 10 | use MooseX::StrictConstructor; | ||
| 11 | |||
| 12 | with 'Markdent::Role::Handler'; | ||
| 13 | |||
| 14 | sub handle_event { | ||
| 15 | return; | ||
| 16 | } | ||
| 17 | |||
| 18 | __PACKAGE__->meta->make_immutable; | ||
| 19 | |||
| 20 | 1; | ||
| 21 | |||
| 22 | # ABSTRACT: A handler which ignores all events | ||
| 23 | |||
| 24 | __END__ | ||
| 25 | |||
| 26 | =pod | ||
| 27 | |||
| 28 | =encoding UTF-8 | ||
| 29 | |||
| 30 | =head1 NAME | ||
| 31 | |||
| 32 | Markdent::Handler::Null - A handler which ignores all events | ||
| 33 | |||
| 34 | =head1 VERSION | ||
| 35 | |||
| 36 | version 0.39 | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | This class implements an event receiver which ignores all events. | ||
| 41 | |||
| 42 | =head1 METHODS | ||
| 43 | |||
| 44 | This class provides the following methods: | ||
| 45 | |||
| 46 | =head2 Markdent::Handler::Null->new | ||
| 47 | |||
| 48 | This method creates a new handler. | ||
| 49 | |||
| 50 | =head1 ROLES | ||
| 51 | |||
| 52 | This class does the L<Markdent::Role::Handler> role. | ||
| 53 | |||
| 54 | =head1 BUGS | ||
| 55 | |||
| 56 | See L<Markdent> for bug reporting details. | ||
| 57 | |||
| 58 | Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>. | ||
| 59 | |||
| 60 | I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>. | ||
| 61 | |||
| 62 | =head1 SOURCE | ||
| 63 | |||
| 64 | The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>. | ||
| 65 | |||
| 66 | =head1 AUTHOR | ||
| 67 | |||
| 68 | Dave Rolsky <autarch@urth.org> | ||
| 69 | |||
| 70 | =head1 COPYRIGHT AND LICENSE | ||
| 71 | |||
| 72 | This software is copyright (c) 2021 by Dave Rolsky. | ||
| 73 | |||
| 74 | This is free software; you can redistribute it and/or modify it under | ||
| 75 | the same terms as the Perl 5 programming language system itself. | ||
| 76 | |||
| 77 | The full text of the license can be found in the | ||
| 78 | F<LICENSE> file included with this distribution. | ||
| 79 | |||
| 80 | =cut |