Markde...plexer(3pm)
π Markdent::Handler::Multiplexer β bestie edition π
okay so this is a page from the User Contributed Perl Documentation section of the manual (section 3pm, perl module territory, iykyk) and it's literally all about a lil class called Markdent::Handler::Multiplexer. she's giving β¨passes events on to multiple handlersβ¨ energy and honestly? iconic.
πΈ NAME πΈ
Markdent::Handler::Multiplexer β she passes events on to multiple handlers. that's it, that's the whole job. no cap. π
π¦ VERSION π¦
version 0.40 β yes bestie, she's on 0.40, keep up π
β¨ DESCRIPTION β¨
so here's the vibe: this class takes the event stream and passes it on to one or more handlers. plural. multiple. a whole friend group of handlers.
why would you even want that?? because it's handy when you wanna do multiple things with a document at the same time. the example the manpage gives (and it's a good one, periodt) is: generate HTML and capture the events to save for a cache. two things. one document. one pass. slay. π₯
π METHODS π
this class provides the following methods, and there's literally one of them, so let's get into it:
π Markdent::Handler::Multiplexer->new( handlers => [ ... ] )
this method creates a new handler. she's fresh out the box. π
you must pass a list of one or more objects which do the Markdent::Role::Handler role as the "handlers" parameters. that's not optional, bestie β it's a requirement. one or more. at least one. don't come at her with an empty list fr fr. π«Ά
π ROLES π
this class does the Markdent::Role::Handler role. she's a member of the club. she paid her dues. π
π BUGS π
okay so bug reporting details live over in Markdent β go check her out for the full scoop.
bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues> β drop it in the issues, bestie, they'll see it. π
also!! the author is usually active on IRC as 'autarch' on irc://irc.perl.org. so if you wanna vibe check them directly, that's the move. π
π§ SOURCE π§
the source code repository for Markdent can be found at:
<https://github.com/houseabsolute/Markdent>
go look. go read. go be obsessed. π
π AUTHOR π
Dave Rolsky <autarch@urth.org>
(hi Dave!! thank you for your service π«‘)
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2021 by Dave Rolsky.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. free as in go off, do your thing, no gatekeeping. π
the full text of the license can be found in the LICENSE file included with this distribution. read it, it's right there, it's giving responsible adult energy. π
and that's the whole page bestie!! every flag, every role, every URL, every copyright line β all present and accounted for. nothing skipped, nothing invented, we keep the facts and serve the vibe. β¨
okay so final sign-off moment πΈ this was documented under perl v5.32.1, dated 2021-08-31, and the page itself lives in the User Contributed Perl Documentation section. that's the whole footer, folded into a cute lil goodbye instead of a boring old line. mwah. π ππ¦π
π¦ where this page comes from
- debian bookworm: libmarkdent-perl 0.40-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libmarkdent-perl 0.40-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmarkdent-perl 0.40-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms