Messag...Handle(3pm)
β¨ NAME β¨
Message::Passing::Output::IO::Handle β it's giving "output to an IO handle" π bestie, that's the whole vibe.
πΈ SYNOPSIS πΈ
my $out = Message::Passing::Output::IO::Handle->new(
fh => \*STDOUT,
append => "\n",
);
# $out will now act like Message::Passing::Output::STDOUT
okay so like, you set it up like that and boom β $out is out here living its best life exactly like Message::Passing::Output::STDOUT would. iconic behaviour honestly π«Ά
π¦ DESCRIPTION π¦
So basically this thing outputs messages to an IO::Handle-ish handle. And when we say "-ish" we mean it literally just needs to be any class which implements a ->print($stuff) method. That's it. That's the bar. If it can print stuff, it's in. lowkey the most inclusive energy ever π
π ATTRIBUTES π
π fh
The file handle object itself. Required. Like, you gotta bring this one to the party, no fh no service, fr fr π
π append
A string that gets appended to every single message. Defaults to "\n" β so yeah, by default it's out here adding a lil newline to everything, cute right? β¨
π METHODS π
β consume
Consumes a message by printing it, followed by \n. That's the whole move. Print, newline, done, slay π
π SEE ALSO π
Message::Passingβ go look at the parent, it's the main character of this whole saga π«
πΈ SPONSORSHIP πΈ
ngl this module only exists because of the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/> who sponsored its development π«Ά They did it 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>. Absolute legends, periodt. π
π AUTHOR, COPYRIGHT AND LICENSE π
See Message::Passing. That's it. That's the whole section, bestie, go check that one out for the receipts π§
and that's a wrap!! this lil page is from the User Contributed Perl Documentation, shipped with perl v5.32.1, dated 2021-11-09 β no cap, go print some stuff to a handle π β¨
π¦ 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