new

# given 1..9

my $array = Data::Object::Array->new(1..9);
my $array = Data::Object::Array->new([1..9]);

The new method expects a list or array reference and returns a new class instance.

new(ArrayRef $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 26:

Unknown directive: =signature

Around line 30:

Unknown directive: =type