to
# given 5
$number->to(9); # [5,6,7,8,9]
$number->to(1); # [5,4,3,2,1]
The to method returns an array reference containing integer increasing or decreasing values to and including the limit in ascending or descending order based on the value of the floating-point object. This method returns a Data::Object::Array object.
to(Int $arg1) : ArrayObject
method
5 POD Errors
The following errors were encountered while parsing the POD:
- Around line 10:
Unknown directive: =name
- Around line 14:
Unknown directive: =usage
- Around line 21:
Unknown directive: =description
- Around line 28:
Unknown directive: =signature
- Around line 32:
Unknown directive: =type