Perlanet::Simple(3pm)

πŸ“¦
version 2.2.1 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– NAME πŸ’–

Perlanet::Simple β€” bestie, it's literally a DWIM Perlanet. DWIM = "do what I mean", and yes she does. ✨


🌸 SYNOPSIS 🌸

okay so here's the whole vibe in five lines, no notes:

use Perlanet::Simple;

my $perlanet = Perlanet::Simple->new_with_config(
  configfile => 'perlanet.yaml'
);
$perlanet->run;

that's it. that's the ritual. πŸ•―οΈ


πŸ¦‹ DESCRIPTION πŸ¦‹

so Perlanet is the main character β€” she's the driving force behind all Perlanet applications. but ngl? she doesn't do a whole lot on her own 😭 which means normally you have to write the functionality you actually want. exhausting.

but in the motive of simplicity (the name really said it all πŸ’…), Perlanet::Simple glues enough stuff together that you can get a very quick planet working out of the box. no cap.

here's what she adds on top of the standard Perlanet module:

  • support for caching πŸ—‚οΈ
  • OPML feed generation πŸ“‘
  • Template rendering support πŸŽ€

she will also attempt to clean each post using both HTML::Scrubber and HTML::Tidy. double cleanse, skincare routine energy. πŸ§–β€β™€οΈβœ¨

πŸ“ Configuration πŸ“

Perlanet::Simple uses Perlanet::Trait::YAMLConfig to let you specify configuration through a file. yaml girlies rise. 🫢

πŸ’œ clean_html πŸ’œ

some custom cleaning code to remove a nasty piece of BlogSpot HTML (and still running all other cleaning traits). she's doing the most and honestly? iconic. πŸ‘‘


and that's the whole page, bestie!! πŸ’– this was User Contributed Perl Documentation for Perlanet::Simple(3pm), living on perl v5.36.0, dated 2023-02-21. go build a planet, slay, periodt. πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from