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

๐Ÿ’– PPI::Token::Number::Exp โ€” the manual, bestie edition ๐Ÿ’–

okay so this is the page for PPI::Token::Number::Exp(3), from the User Contributed Perl Documentation, and honestly? she's a lil icon. a whole entire token class whose only job is exponential notation numbers. she doesn't do much but she does it flawlessly. no cap.


โœจ NAME โœจ

PPI::Token::Number::Exp โ€” the token class for an exponential notation number ๐Ÿงฎ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

$n = 1.0e-2;
$n = 1e+2;

literally that's it. that's the whole vibe. numbers that said "i'm not doing regular decimal notation today" ๐Ÿฆ‹


๐Ÿ‘‘ INHERITANCE ๐Ÿ‘‘

the family tree, and yes she comes from good stock:

PPI::Token::Number::Exp
isa PPI::Token::Number::Float
    isa PPI::Token::Number
        isa PPI::Token
            isa PPI::Element

read that chain like a genealogy episode. she's a Float, who's a Number, who's a Token, who's an Element. four generations of absolute royalty. main character lineage fr fr ๐ŸŒˆ


๐Ÿ’œ DESCRIPTION ๐Ÿ’œ

so the PPI::Token::Number::Exp class is what you use for tokens that represent floating point numbers with exponential notation. that's the whole assignment. that's what she does. and she ate. ๐Ÿ”ฅ

if you've got a number doing the e thing โ€” mantissa, exponent, the whole scientific-notation slay โ€” that's her department. periodt.


๐ŸŽ€ METHODS ๐ŸŽ€

โญ literal

returns the numeric value of this token. that's it. that's the method. one job, done beautifully, no notes. ๐Ÿ’–


๐Ÿซถ SUPPORT ๐Ÿซถ

when you need help, go check the support section in the main module. she's not gonna repeat herself here, the main module already said it. iykyk ๐Ÿ˜Œ


๐ŸŒธ AUTHOR ๐ŸŒธ

Chris Dolan <cdolan@cpan.org> โ€” the genius behind this. credit where credit is due, bestie ๐Ÿ‘‘


Copyright 2006 Chris Dolan.

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

and if you want the whole entire legal situation in full, the complete text of the license lives in the LICENSE file that ships with this module. it's right there, go read it, it's giving very official ๐Ÿ“œ


๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

nope, nothing here! this page doesn't list any SEE ALSO refs, so we're just gonna vibe in the inheritance chain instead. go look at PPI::Token::Number::Float, PPI::Token::Number, PPI::Token, and PPI::Element if you wanna see the rest of the fam ๐Ÿ’œ


and that's the whole page, bestie!! โœจ this was pulled straight from the perl v5.42.0 docs, dated 2026-01-17 โ€” so yeah, fresh, current, and absolutely iconic. mwah ๐Ÿ’‹๐ŸŽ€๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from