1PPI::Token::Number::BinUasreyr(3C)ontributed Perl DocumePnPtIa:t:iToonken::Number::Binary(3)
2
3
4
6 PPI::Token::Number::Binary - Token class for a binary number
7
9 $n = 0b1110011; # binary integer
10
12 PPI::Token::Number::Binary
13 isa PPI::Token::Number
14 isa PPI::Token
15 isa PPI::Element
16
18 The "PPI::Token::Number::Binary" class is used for tokens that
19 represent base-2 numbers.
20
22 base
23 Returns the base for the number: 2.
24
25 literal
26 Return the numeric value of this token.
27
29 See the support section in the main module.
30
32 Chris Dolan <cdolan@cpan.org>
33
35 Copyright 2006 Chris Dolan.
36
37 This program is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
40 The full text of the license can be found in the LICENSE file included
41 with this module.
42
43
44
45perl v5.34.0 2021-07-22 PPI::Token::Number::Binary(3)