PDF::AP...DF::Null(3)
β¨ NAME β¨
PDF::API2::Basic::PDF::Null β the low-level PDF null object, aka the void, the nothing, the empty girl of the PDF world π
This is page PDF::API2::Basic::PDF::Null(3) from the User Contributed Perl Documentation, and bestie, we're about to get into it π«Ά
π METHODS π
PDF::API2::Basic::PDF::Null->new
Returns the null object. There is only one null object. That's it. That's the whole vibe β it's giving singleton, it's giving "there can only be one" π
PDF::API2::Basic::PDF::Null->new
$s->realise
Pretends to finish reading the object. Not me acting like I did the reading when I absolutely did not π
$s->realise
$s->outobjdeep
Outputs the object in PDF format. Slay, it does the one job π
$s->outobjdeep
$s->is_obj
Returns false, because null is not a full object. It's a baby. It's a fragment. It's a "we're so back but also we were never here" situation π
$s->is_obj
$s->copy
Another no-op. Just out here doing absolutely nothing, and honestly? Iconic behaviour πΈ
$s->copy
$s->val
Returns undef. The emptiness is the point, no cap π¦
$s->val
fr fr, lowkey this whole module is a no-op factory and that's the assignment. Don't go looking for more in it β the nothing is the content π
Mwah π this was perl v5.42.0, dated 2025-09-01, and it lives at PDF::AP...DF::Null(3) in the User Contributed Perl Documentation. Periodt. πβ¨
π¦ 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