There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

Rubyish::Array - Array (class)

FUNCTIONS

new

Not Documented

inspect

at()

[]

Get value at given index.

$array = Array([(0..5)])
$array->at(2)   #=> 2
$array->[2]     #=> 2

size()

length()

Return length of Array object.

$array = Array([(0..5)])
$array->length  #=> 6
$array->size    #=> 6

first

Not Documented

last

Not Documented