HTML::...llback(3pm)
π NAME π
okay so bestie, welcome to HTML::Widget::Filter::Callback β it's the Lower Case Filter π (yes that's what the manpage calls it, we don't make the rules, we just slay by them). It's from the User Contributed Perl Documentation, section 3pm. Sit down, sip ur drink, we're gonna go through this whole thing together π
β¨ SYNOPSIS β¨
here's the vibe, literally copy-paste coded:
my $f = $widget->filter( 'Callback', 'foo' )->callback(sub {
my $value=shift;
$value =~ s/before/after/g;
return $value;
});
see how it's giving? u make a filter, u hand it a sub, the sub does stuff to $value, and it returns the goods π«Ά
πΈ DESCRIPTION πΈ
it's a Callback Filter. that's the whole description, no cap. iconic minimalism honestly π
π METHODS π
callback
- Argument:
\&callback
Define the callback to be used for filter. like, this is the moment where u tell it which sub does the work β¨
and psst β "cb" is an alias for "callback". so if ur fingers are tired, cb has u covered π
filter
so this heading exists... and that's kinda it. nothing underneath it in the original. not me staring at an empty section π moving on bestie
π AUTHOR π
Lyo Kato, lyo.kato@gmail.com β shoutout to the main character who wrote this π
π LICENSE π
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. fr fr, go wild (within Perl's terms obviously) π¦
and that's the whole page, bestie!! π this came from perl v5.36.0, dated 2023-08-10, and the manpage itself is HTML::...llback(3pm) β yes the title got cut off in the header, it's giving suspense, we love that for it πβ¨ mwah, go filter something π«ΆπΈ
π¦ where this page comes from
- debian trixie: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-widget-perl 1.11-7 Β· 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