PPI::To...ber::Hex(3)

πŸ’– PPI::Token::Number::Hex β€” the manual page bestie πŸ’–

okay so you're reading the User Contributed Perl Documentation entry for PPI::To...ber::Hex(3) and honestly? it's giving niche but iconic. ✨


🌈 NAME 🌈

PPI::Token::Number::Hex β€” the token class for a binary number πŸŽ€

no bestie, that's not a typo, that's literally what the original says πŸ™ˆ (yes, it says "binary" while being the hex class. we report, we don't fix. periodt.)

πŸ¦‹ SYNOPSIS πŸ¦‹

$n = 0x1234;     # hexadecimal integer

that's it, that's the whole vibe check. one line. main character energy. πŸ’…


πŸ‘‘ INHERITANCE πŸ‘‘

the family tree, and it's a distinguished one:

PPI::Token::Number::Hex
isa PPI::Token::Number
    isa PPI::Token
        isa PPI::Element

so yeah, she inherits from PPI::Token::Number, which inherits from PPI::Token, which inherits from PPI::Element. generational wealth fr fr. πŸ’œ


🌸 DESCRIPTION 🌸

the PPI::Token::Number::Hex class is used for tokens that represent base-16 numbers. that's it. that's the job. she shows up, she holds your hex, she slays. πŸ”₯


✨ METHODS ✨

πŸŽ€ base

returns the base for the number: 16. 🫢

πŸŽ€ literal

return the numeric value of this token. lowkey the most useful thing here, ngl. πŸ’–


πŸ’€ SUPPORT πŸ’€

see the support section in the main module. that's the whole thing β€” she's pointing you at the group chat, not retyping the message. iykyk. 😭


⭐ AUTHOR ⭐

Chris Dolan <cdolan@cpan.org> β€” legend behavior, honestly. πŸ‘‘


copyright 2006 Chris Dolan.

this program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

the full text of the license can be found in the LICENSE file included with this module.

important bestie: those license terms are load-bearing, don't just vibe past them. 🫑

and that's the whole page!! 🧚✨ this was written for perl v5.42.0, dated 2026-01-17, and it lives at PPI::To...ber::Hex(3). thanks for reading, mwah πŸ’…πŸ’–πŸŒΈ

πŸ“¦ where this page comes from