PDF::Bu...:Number(3)

✨ NAME ✨

PDF::Builder::Basic::PDF::Number β€” it's giving... numbers in PDF πŸ’–

Like, that's the whole job. Numbers. In a PDF. Iconic, honestly.

It inherits from PDF::Builder::Basic::PDF::String, so bestie's got a whole family tree going on 🌸


πŸ› οΈ METHODS πŸ› οΈ

🌈 convert

$n->convert($str)

okay so this one converts a string from PDF to internal, and the way it does that is... literally nothing πŸ’…

No cap. It just vibes. The conversion is a no-op, and honestly? Respect. Sometimes the main character move is doing the absolute least and slaying anyway. ✨

πŸ¦‹ as_pdf

$n->as_pdf()

And this one converts a number to PDF format πŸŽ€ so the PDF can actually read it. Lowkey the real MVP of the two ngl.


perl v5.42.0 🫢 2026-01-17 β€” that's the whole page, bestie. go forth and represent your numbers, periodt. πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from