Scroll to navigation

Perl::Tidy::Sweetened::Pluggable(3pm) User Contributed Perl Documentation Perl::Tidy::Sweetened::Pluggable(3pm)

NAME

Perl::Tidy::Sweetened::Pluggable - Simple object to facilitate a pluggable filter architecture

VERSION

version 1.18

SYNOPSIS

    our $plugins = Perl::Tidy::Sweetened::Pluggable->new();
    $plugins->add_filter(
        Perl::Tidy::Sweetened::Keyword::SubSignature->new(
            keyword => 'method',
            marker  => 'METHOD',
        ) );
    $plugins->prefilter( $code );
    $plugins->postfilter( $code );

DESCRIPTION

Builds a pluggable, chainable list of filters.

AUTHOR

Mark Grimes <mgrimes@cpan.org>

SOURCE

Source repository is at <https://github.com/mvgrimes/Perl-Tidy-Sweetened>.

BUGS

Please report any bugs or feature requests on the bugtracker website <http://github.com/mvgrimes/Perl-Tidy-Sweetened/issues>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 by Mark Grimes <mgrimes@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2021-03-23 perl v5.32.1