PDF::AP...::Number(3)

πŸ’– NAME πŸ’–

PDF::API2::Basic::PDF::Number β€” bestie, it's a low-level PDF numeric object. that's the whole vibe. it's a number. it lives in a PDF. it's lowkey iconic for doing exactly that and nothing more 🫢


✨ METHODS ✨

πŸŽ€ $n->convert($str)

converts a string from PDF to internal... by doing absolutely nothing 😭

no cap. it takes $str, it looks at it, and it's like "okay slay, i'm not touching that." zero processing. zero drama. main character energy = being unbothered πŸ’…

🌸 $n->as_pdf

converts a number to PDF format ✨

that's it, that's the job. number goes in, PDF-flavoured number comes out. the way that this is the most straightforward method ever and honestly? we stan a function that knows what it wants πŸ¦‹


ngl there's not a lot here, but that's the point β€” it's a Basic object, bestie. it's doing its one little thing and it's doing it flawlessly πŸ‘‘

perl v5.42.0, dated 2025-09-01 β€” this page came from the User Contributed Perl Documentation, and that's the whole tea πŸ“ thanks for reading, ily, go convert some numbers πŸ’–βœ¨πŸŽ€

πŸ“¦ 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