Query: ppi::token::number::version
OS: osx
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PPI::Token::Number::Version(3) User Contributed Perl Documentation PPI::Token::Number::Version(3)NAMEPPI::Token::Number::Version - Token class for a byte-packed numberSYNOPSIS$n = 1.1.0; $n = 127.0.0.1; $n = 10_000.10_000.10_000; $n = v1.2.3.4INHERITANCEPPI::Token::Number::Version isa PPI::Token::Number isa PPI::Token isa PPI::ElementDESCRIPTIONThe "PPI::Token::Number::Version" class is used for tokens that have multiple decimal points. In truth, these aren't treated like numbers at all by Perl, but they look like numbers to a parser.METHODSbase Returns the base for the number: 256. literal Return the numeric value of this token.BUGS- Does not handle leading minus sign correctly. Should translate to a DashedWord. See <http://perlmonks.org/?node_id=574573> -95.0.1.0 --> "-_ 00cA 00" -96.0.1.0 --> Argument "` ^A " isn't numeric in negation (-)SUPPORTSee the support section in the main module.AUTHORChris Dolan <cdolan@cpan.org>COPYRIGHTCopyright 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. perl v5.16.2 2011-02-25 PPI::Token::Number::Version(3)
Related Man Pages |
---|
ppi::token::number::version5.18(3) - mojave |
ppi::token::number5.18(3) - mojave |
ppi::token::magic(3) - osx |
ppi::token::number(3) - osx |
ppi::token::number(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Counting The Number Of Duplicate Lines In a File |
Number comparision in AWK |
Incrementing the New File Version Number |