PDF::AP...Resource(3)
π PDF::AP...Resource(3) β the manual page bestie π
okay so real talk, this is a page from the User Contributed Perl Documentation collection, and it's about a lil class called PDF::API2::Resource. it's giving backstage-pass energy. let's get into it π
β¨ NAME β¨
PDF::API2::Resource β bestie, this is the base class for PDF resources. it's the parent vibe that other resource classes inherit from. the blueprint. the blueprint that ate π
πΈ METHODS πΈ
π«Ά $resource = PDF::API2::Resource->new($pdf, $name)
Returns a resource object. that's it, that's the whole thing. you hand it a $pdf and a $name, and boom β you got yourself a brand new resource object. slay β¨
π¦ $name = $resource->name()
π¦ $resource->name($name)
Get or set the name of the resource. call it with no args and it tells you the name (get). pass it a $name and it sets the name (set). one method, two moods, main character energy fr fr π
ngl, that's the whole page. short and iconic. no options, no env vars, no exit statuses β just pure, unbothered resource-class realness π
and that's a wrap, bestie π«Ά this lil page came to you courtesy of perl v5.42.0, dated 2025-09-01 β so yes, it's fresh, it's current, it's ate ππβ
π¦ where this page comes from
- fedora 43: perl-PDF-API2 2.048-1.fc43 Β· LGPL-2.1-or-later AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND (MIT OR Artistic-1.0-Perl)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms