Perlan...t::Tidy(3pm)
π¦ Perlanet::Trait::Tidy(3pm) π
okay bestie, welcome to Perlanet::Trait::Tidy, straight out of the User Contributed Perl Documentation β¨ it's a little trait that runs your posts through HTML::Tidy before they hit the feed. so clean. so fresh. the glow-up is real π
πΈ NAME πΈ
Perlanet::Trait::Tidy β run posts through HTML::Tidy π§
β¨ SYNOPSIS β¨
my $perlanet = Perlanet->new_with_traits(
traits => [ 'Perlanet::Trait::Tidy' ]
);
$perlanet->run;
literally just drop the trait in and let it cook π₯
π DESCRIPTION π
so here's the tea π before a post gets added to the aggregated feed, it gets run through HTML::Tidy. every single one. no messy markup making it to the timeline, we don't do that here π
π Configuring π
wanna customise your HTML::Tidy instance? then you override the _build_tidy method, periodt π
this method takes no input and returns an HTML::Tidy instance. that's it, that's the whole vibe π
π ATTRIBUTES π
π tidy
an instance of HTML::Tidy that's used to tidy up the feed entry contents before they get output. for the default settings, go peek at the source.. π iykyk
π AUTHOR π
Oliver Charles, <oliver.g.charles@googlemail.com>
πΈ COPYRIGHT AND LICENSE πΈ
Copyright (c) 2010 by Magnum Solutions Ltd.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
and that's the whole page, bestie π«Ά this gem of a doc is from perl v5.36.0, dated 2023-02-21 β mwah, iconic, no notes πβ¨
π¦ where this page comes from
- debian bookworm: libperlanet-perl 2.2.1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libperlanet-perl 2.2.1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libperlanet-perl 2.2.1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libperlanet-perl 2.2.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms