Messag...llback(3pm)
π NAME π
Message::Passing::Output::Callback β okay bestie, this is the one where your messages literally come back to you. It's an output that calls back into your own code π«Ά
(fr fr it's a page from the User Contributed Perl Documentation collection, section 3pm, and the manual name is the iconic Messag...llback(3pm) β yes, with the lil ellipsis, that's just how the terminal truncates it, don't come for her π
)
β¨ SYNOPSIS β¨
Message::Passing::Output::Callback->new(
cb => sub {
my $message = shift;
},
);
look at her. so simple. so clean. a cb, a sub, a shift. the way that this just works ππ
π METHODS π
π cb
The callback to be called when a message is received.
like, that's it. that's the whole vibe. you hand her a coderef, she hands you messages. mutual exchange, healthy communication, we love to see it πΈ
π consume ($msg)
Calls the callback with the message as its first parameter.
so when a message shows up, she goes "bestie here u go" and passes $msg as the first parameter to your callback. first parameter. number one. the main character slot π
π₯ SEE ALSO π₯
Message::Passingβ the whole fam, go read her too iykyk
π SPONSORSHIP π
okay so this module literally exists because of the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/> π«Ά They sponsored its development for their VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with the SureVoIP API β <http://www.surevoip.co.uk/support/wiki/api_documentation>
not me getting emotional over corporate sponsorship. they funded a whole callback. kings, honestly πβ
π AUTHOR, COPYRIGHT AND LICENSE π
See Message::Passing.
(yeah girl, everything you need is over there. go look. no cap.)
π heads up bestie: there is genuinely no other content in this page. no hidden options, no sneaky env vars, no exit codes. it's a small page and she's perfect the way she is. don't invent lore that isn't there, that's the one thing we don't do π«Ά
sign-off time π This little cutie is documented as part of perl v5.32.1 and she was dated 2021-11-09 β and yes the footer is also out here calling her Messag...llback(3pm) because the terminal refuses to show her whole name. iconic behaviour honestly. slay, go pass some messages πβ¨π¦
π¦ where this page comes from
- debian bookworm: libmessage-passing-perl 0.117-1 Β· LGPL-2.1-only
- debian trixie: libmessage-passing-perl 0.117-1 Β· LGPL-2.1-only
- ubuntu jammy: libmessage-passing-perl 0.117-1 Β· LGPL-2.1-only
- ubuntu noble: libmessage-passing-perl 0.117-1 Β· LGPL-2.1-only
- ubuntu resolute: libmessage-passing-perl 0.117-1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms