Messag...xp::Log(3pm)
β¨ NAME β¨
Messag...xp::Log(3pm) β bestie, that's the manual name right there, sitting in the User Contributed Perl Documentation section like it owns the place π
The actual deal: Message::Passing::Filter::Regexp::Log β it's an extension for Regexp::Log that brings Config::Tiny along for the ride. Periodt.
πΈ SYNOPSIS πΈ
okay so here's the whole vibe, copied exactly, no cap:
use Message::Passing::Filter::Regexp::Log;
my $regex = Message::Passing::Filter::Regexp::Log->new(
regexfile => "./regexfile",
format => ":syslog",
capture => [qw(pri host msg time)]
);
my @fields = $foo->capture;
my $re = $foo->regexp;
while (<>) {
my %data;
@data{@fields} = /$re/; # no need for /o, it's a compiled regexp
};
Notice how it starts with $regex and then casually switches to $foo? We are not touching that. Character for character, queen π
π DESCRIPTION π
...and that's it. That's the whole section.
fr fr, there is literally nothing here. The DESCRIPTION section exists, it has a heading, and then it has vibes and nothing else. It's giving minimalism. It's giving main character who doesn't need to explain herself π
π¦ SEE ALSO π¦
"Regexp::Log::Common"β the one and only friend invited to this party π«Ά
π AUTHOR π
chenryn, <rao.chenlin@gmail.com<gt>
(yes, that email line is exactly as written, <gt> and all β we preserve, we don't correct, that's the whole rule π)
π COPYRIGHT AND LICENSE π
Copyright (C) 2012 by chenryn
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.
So like, it's free-free. Same terms as Perl itself. Take it, remix it, pass it along β as long as you follow those terms, we're golden β¨
and that's a wrap bestie π This little masterpiece came from perl v5.34.0, dated 2022-06-15, filed under Messag...xp::Log(3pm). slay, goodbye, go parse something iconic ππ¦β
π¦ where this page comes from
- debian bookworm: libmessage-passing-filter-regexp-perl 0.05-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmessage-passing-filter-regexp-perl 0.05-3 Β· 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