PFT::Content::Base(3)

πŸ“¦ version 1.4.1, in fedora 43, fedora 44

πŸ’– PFT::Content::Base(3) πŸ’–

okay so bestie, you found the base class β€” the blueprint, the moment before the glow-up, the group chat everyone else joins. This is PFT::Content::Base, straight out of the User Contributed Perl Documentation, and yes we're doing this properly. 🫢


✨ NAME ✨

PFT::Content::Base β€” the base class for content. that's it, that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

here's how you get adopted into the family:

use parent 'PFT::Content::Base'

sub new {
    my $cls = shift;
    ...
    $cls->SUPER::new({
        tree => $tree,
        name => $name,
    })
    ...
}

see that? use parent β€” you're literally inheriting the whole aura. then you override new, do your little ... thing (iconic), and call $cls->SUPER::new({...}) with your tree and your name. passing it up the chain like a snack. πŸ“


πŸ¦‹ DESCRIPTION πŸ¦‹

This class is a common base for all PFT::Content::* classes. ALL of them. it's giving founding mother. every single one of those star classes lowkey owes this one everything. ✨

πŸŽ€ Properties πŸŽ€

🌈 tree

a Path object. that's the whole description and we respect it. it's a Path object, no notes. πŸ‘‘

🌈 name

the name of the object. literally what it's called. main character energy, it has a name and it knows it. πŸ’–


ngl this page is short but it's load-bearing. everything under PFT::Content::* is built on this. iykyk. πŸ”₯

and that's the tea, bestie β€” perl v5.42.0, dated 2025-07-25, from the User Contributed Perl Documentation. go forth and inherit responsibly. πŸ’œπŸ§šβ­

πŸ“¦ where this page comes from