NAME

Data::Object::Array

ABSTRACT

Data-Object Array Class

SYNOPSIS

use Data::Object::Array;

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

DESCRIPTION

This package provides routines for operating on Perl 5 array references.

METHODS

This package implements the following methods.

list

list() : ArrayObject

The list method returns a shallow copy of the underlying array reference as an array reference. This method return a Data::Object::Array object.

list example
# given $array

my $list = $array->list;

self

self() : Object

The self method returns the calling object (noop).

self example
my $self = $array->self();

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

PROJECT

On GitHub

Initiatives

Contributing

Reporting

SEE ALSO

To get the most out of this distribution, consider reading the following:

Data::Object::Class

Data::Object::Role

Data::Object::Rule

Data::Object::Library

Data::Object::Signatures