PFT::Co...:Picture(3)

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

✨ NAME ✨

PFT::Content::Picture β€” bestie, it's literally a picture πŸ’–

Like, that's it. That's the whole vibe. A picture. In the PFT::Content cinematic universe. 🌸


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's how you summon one:

use PFT::Content::Picture;

my $f1 = PFT::Content::Picture->new({
    tree => $tree,
    path => $path,
    name => $name,  # optional, defaults to basename($path)
});

yes queen, that name key is optional β€” leave it out and it just quietly defaults to basename($path) like the icon it is πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

It extends PFT::Content::Blob. And the way that it does that… no cap, it keeps the exact same interface. Same energy, same methods, zero surprises. If you already know how to hold PFT::Content::Blob, you already know how to hold this. πŸ’…

It's giving "inheritance done right". It's giving "I have nothing new to add and I'm at peace with that". Periodt. ✨


🫢 quick reminder bestie: everything PFT::Content::Blob gives you, this gives you too β€” nothing removed, nothing renamed, nothing extra. Just a picture-flavoured blob.

and that's the whole page, babe 🌈

This little gem lives in the User Contributed Perl Documentation corner of the world, riding with perl v5.42.0, dated 2025-07-25 β€” so go forth, make pictures, and slay πŸ’–πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from