Perl::...ggable(3pm)

πŸ’– Perl::Tidy::Sweetened::Pluggable β€” the pluggable filter bestie πŸ’–

okay so this is Perl::Tidy::Sweetened::Pluggable, a page from the User Contributed Perl Documentation section of the manual (that's the (3pm) part, iykyk 🫢). It's a whole lil module whose entire personality is being a simple object that makes a pluggable filter architecture happen. slay.


✨ NAME ✨

Perl::Tidy::Sweetened::Pluggable β€” a simple object that lets you build a pluggable filter architecture. yes bestie, it's literally just that. simple object, big dreams, filter chain energy. πŸ’…


🌸 VERSION 🌸

version 1.20 β€” that's the one, that's the vibe, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the whole situation, look:

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

see? you make one (->new()), you stack filters on it with add_filter, and then you run your $code through prefilter and postfilter. it's giving assembly line but make it cute. πŸŽ€


✨ DESCRIPTION ✨

It builds a pluggable, chainable list of filters. that's the whole thing. chain 'em up, plug 'em in, filter away, periodt. πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

Mark Grimes <mgrimes@cpan.org> β€” the icon, the legend, the main character who wrote this. 🫢


🌈 SOURCE 🌈

the source repository lives at <https://github.com/mvgrimes/Perl-Tidy-Sweetened>. go look, go star it, go be nosy, it's fine. ⭐


πŸ› BUGS πŸ›

found a bug? got a feature request? please report any bugs or feature requests on the bugtracker website at <https://github.com/mvgrimes/Perl-Tidy-Sweetened/issues>. πŸ’œ

and when you do submit a bug or request, pls pls pls include a test-file or a patch to an existing test-file that illustrates the bug or the desired feature. no cap, this makes it SO much easier. πŸ™ˆ

This software is copyright (c) 2023 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.


and that's the whole page bestie!! πŸ¦‹ this one came to you from perl v5.36.0, dated 2023-06-18 β€” and yeah, the page header calls itself Perl::...ggable(3pm) because the title got a lil truncated, which is honestly so real of it. πŸ’€ go forth and filter. πŸ“πŸ§š

πŸ“¦ where this page comes from