slice
# given [1..5]
$array->slice(2,4); # [3,5]
The slice method returns an array reference containing the elements in the array at the index(es) specified in the arguments. This method returns a Data::Object::Array object.
slice(Any $arg1) : Any
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 20:
Unknown directive: =description
- Around line 26:
Unknown directive: =signature
- Around line 30:
Unknown directive: =type