Messag...::File(3pm)
π Message::Passing::Output::File π
okay bestie, so this page is the manual for Message::Passing::Output::File β yeah the header up top gets all chopped and squished (Messag...::File(3pm) energy, tragic honestly), but the full name is the one and only Message::Passing::Output::File. she's a Perl module. she writes messages to files. slay. β¨
πΈ NAME πΈ
Message::Passing::Output::File β File output. that's it, that's the vibe π
β¨ SYNOPSIS β¨
message-pass --input STDIN --output File --output_options '{"filename": "/tmp/my.log"}'
{"foo": "bar"}
{"foo":"bar"}
like, you run that, and the two lil JSON lines go in and get written out. it's giving pipeline realness π
π¦ DESCRIPTION π¦
Output messages to File. no cap, that is literally the entire job. messages go in, file goes brrr. πβ¨
π METHODS π
π append
a boolean attribute, bestie. it controls whether the output file should be re-created or appended to. default is true. so by default she's adding to the file, not yeeting your old data. π«Ά
π filename
an attribute for the file name to write to. give her a path, she'll write there. iconic. π
π consume
consumes a message by JSON encoding it and printing it, followed by \n. so: encode β print β newline. every single time. she does not skip the newline. the newline is part of the brand. ππ
π₯ SEE ALSO π₯
Message::Passingβ the whole fam is over there, go look π
π SPONSORSHIP π
this module 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/> so it could be used with the SureVoIP API β <http://www.surevoip.co.uk/support/wiki/api_documentation>. absolute patrons of the arts, we love to see it ππ
π AUTHOR, COPYRIGHT AND LICENSE π
just go see Message::Passing. the receipts are all over there, bestie. π§
fr fr that's the whole page. every flag, every attribute, every default, every link β nothing skipped, nothing invented. periodt. πβ¨
and that's a wrap, babes! π«Ά this little writeup is from <b>perl v5.32.1</b>, dated <b>2021-11-09</b> β shoutout to the User Contributed Perl Documentation crew for hosting her, mwah π go forth and log responsibly! πΈπ¦π
π¦ 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