PPI::To...r::Octal(3)
π PPI::Token::Number::Octal β bestie edition
okay so you're looking at PPI::To...r::Octal(3), which is the manual page for PPI::Token::Number::Octal, and honestly? it's short, it's sweet, and it's about to make base-8 numbers make sense. let's go β¨
πΈ NAME πΈ
PPI::Token::Number::Octal β Token class for a binary number
okay bestie i KNOW. the name says octal and the one-liner says "binary number". that is what the page says, so that is what i'm telling you. no cap. π«Ά
π SYNOPSIS π
$n = 0777; # octal integer
that's it. that's the vibe. a leading zero and suddenly you're in base 8, living your best life π
π¦ INHERITANCE π¦
the family tree, and yes she comes from a long line of icons:
PPI::Token::Number::Octal
isa PPI::Token::Number
isa PPI::Token
isa PPI::Element
so PPI::Token::Number::Octal isa PPI::Token::Number, which isa PPI::Token, which isa PPI::Element. generational excellence, fr fr π
β¨ DESCRIPTION β¨
so the PPI::Token::Number::Octal class is used for tokens that represent base-8 numbers. that's the whole assignment. she shows up when something in your Perl source is chillin' in octal, and she holds that token's whole personality. π
π METHODS π
base
Returns the base for the number: 8.
yes queen, she knows what she is. eight. base eight. not base ten, not base two. eight. π―
literal
Return the numeric value of this token.
so if you want the actual number hiding inside the token, this is your girl β she hands you the numeric value back. π
π«Ά SUPPORT π«Ά
See the support section in the main module.
(that's the main module's problem, not ours β go check over there bestie π)
π AUTHOR π
Chris Dolan <cdolan@cpan.org>
icon behavior. we stan. π
π 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.
so basically: free software, same terms as Perl itself, and if you want the receipts they're in the LICENSE file that ships with the module. read it, it's giving responsible main character energy πβ¨
aaaand that's the whole page, bestie! this was perl v5.42.0, dated 2026-01-17, straight from the PPI::To...r::Octal(3) manpage β go forth and count in eights, you absolute legend π
πΈπ¦
π¦ 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