1Moose::Autobox::Number(U3s)er Contributed Perl DocumentatMiooonse::Autobox::Number(3)
2
3
4

NAME

6       Moose::Autobox::Number - the Number role
7

DESCRIPTION

9       This is a role to describes a Numeric value.
10

METHODS

12       to  Takes another number as argument and produces an array ranging from
13           the number the method is called on to the number given as argument.
14           In some situations, this method intentionally behaves different
15           from the range operator in perl:
16
17             $foo = [ 5 .. 1 ]; # $foo is []
18
19             $foo = 5->to(1);   # $foo is [ 5, 4, 3, 2, 1 ]
20
21       meta
22

BUGS

24       All complex software has bugs lurking in it, and this module is no
25       exception. If you find a bug please either email me, or add the bug to
26       cpan-RT.
27

AUTHOR

29       Stevan Little <stevan@iinteractive.com>
30
32       Copyright 2006-2008 by Infinity Interactive, Inc.
33
34       <http://www.iinteractive.com>
35
36       This library is free software; you can redistribute it and/or modify it
37       under the same terms as Perl itself.
38
39
40
41perl v5.12.2                      2010-04-23         Moose::Autobox::Number(3)
Impressum