logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Mark Grimes <mgrimes@cpan.org>

Bugs

       Please report any bugs or feature requests on the bugtracker website
       <https://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.

Description

       Builds a pluggable, chainable list of filters.

Name

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

Source

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

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 );

Version

       version 1.20

See Also