PPI::To...:Binary(3)
π PPI::Token::Number::Binary π
okay bestie, welcome to the User Contributed Perl Documentation page for PPI::Token::Number::Binary β¨ β yes that's the whole name, it's a mouthful, we love her anyway π«Ά
π NAME π
PPI::Token::Number::Binary β the token class that handles binary numbers, aka base-2, aka the 1s and 0s life π
β¨ SYNOPSIS β¨
$n = 0b1110011; # binary integer
that's it. that's the vibe. 0b and go π
π¦ INHERITANCE π¦
so she's got main character energy and a whole family tree, look:
PPI::Token::Number::Binary
isa PPI::Token::Number
isa PPI::Token
isa PPI::Element
three generations of iconic ancestry, no cap π
πΈ DESCRIPTION πΈ
the PPI::Token::Number::Binary class is literally the token class for stuff that represents base-2 numbers. that's the whole job. she ate and left no crumbs π
π METHODS π
π base
Returns the base for the number: 2. yes. two. it's binary. iykyk π
π literal
Return the numeric value of this token. that's it, that's the method β¨
π«Ά SUPPORT π«Ά
ngl if you need help, go see the support section in the main module. they got you bestie π
π AUTHOR π
Chris Dolan <cdolan@cpan.org> β legend behaviour, 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. go read it fr fr π
and that's the whole page babes π this lil doc came from perl v5.42.0, dated 2026-01-17 β slay, periodt β¨ππ
π¦ 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