Messag...lter::T(3pm)

πŸ“¦
version 0.117 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute

✨ Message::Passing::Filter::T ✨

okay so bestie, this is a page from the User Contributed Perl Documentation collection, and it's all about Message::Passing::Filter::T β€” the little tee-shaped filter that splits your message stream like it's making copies at the library printer πŸ’… (iykyk).


πŸ¦‹ NAME πŸ¦‹

Message::Passing::Filter::T β€” send a message stream to multiple outputs. one stream in, many streams out, no cap πŸ’–


🌸 DESCRIPTION 🌸

So like, this filter's whole thing is duplicating a message stream to two or more outputs. That's it. That's the job. Queen behavior honestly πŸ‘‘

All messages get duplicated to all output streams β€” every single one, no picking favorites. Which is great and all, but here's the tea: because everyone gets everything, you might wanna follow this up with Message::Passing::Filter::Key on one or more of those streams, so each output only keeps the messages it actually wants. slay πŸŽ€


πŸ’œ ATTRIBUTES πŸ’œ

output_to

Just like a normal Message::Passing::Role::Input class, except it takes an array of outputs. yes bestie, an array. plural. multiple. we're not doing the whole one-output thing here 🫢


πŸ”₯ METHODS πŸ”₯

consume

Sends the consumed message to all output_to instances. every last one of them. it's giving "if you didn't get a copy, you weren't on the list" πŸ’Œ


🌈 SPONSORSHIP 🌈

This module exists because of the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/> who sponsored its development for its VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with the SureVoIP API β€” <http://www.surevoip.co.uk/support/wiki/api_documentation> ✨

(ngl, sponsoring open source is main character energy and we love to see it πŸ’–)


See Message::Passing. short and sweet, periodt πŸ’…


okay that's the whole page bestie, go forth and duplicate responsibly πŸ¦‹ and just so you have the receipts: this was rendered from the Perl documentation for perl v5.32.1, dated 2021-11-09 β€” stay iconic, mwah πŸ’–πŸŽ€βœ¨