1Moose::Autobox::Number(U3s)er Contributed Perl DocumentatMiooonse::Autobox::Number(3)
2
3
4
6 Moose::Autobox::Number - Moose::Autobox::Number - the Number role
7
9 version 0.16
10
12 This is a role to describes a Numeric value.
13
15 "to"
16 Takes another number as argument and produces an array ranging from
17 the number the method is called on to the number given as argument.
18 In some situations, this method intentionally behaves different
19 from the range operator in perl:
20
21 $foo = [ 5 .. 1 ]; # $foo is []
22
23 $foo = 5->to(1); # $foo is [ 5, 4, 3, 2, 1 ]
24
25 "meta"
26
28 Bugs may be submitted through the RT bug tracker
29 <https://rt.cpan.org/Public/Dist/Display.html?Name=Moose-Autobox> (or
30 bug-Moose-Autobox@rt.cpan.org <mailto:bug-Moose-Autobox@rt.cpan.org>).
31
32 There is also a mailing list available for users of this distribution,
33 at <http://lists.perl.org/list/moose.html>.
34
35 There is also an irc channel available for users of this distribution,
36 at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
37
39 Stevan Little <stevan.little@iinteractive.com>
40
42 This software is copyright (c) 2006 by Infinity Interactive, Inc.
43
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.32.0 2020-07-28 Moose::Autobox::Number(3)