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 π
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
- fedora 44: perl-PPI 1.284-2.fc44 Β· GPL-1.0-or-later 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