NAME

Data::Object::Hash

ABSTRACT

Data-Object Hash Class

SYNOPSIS

use Data::Object::Hash;

my $hash = Data::Object::Hash->new({1..4});

DESCRIPTION

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

METHODS

This package implements the following methods.

list

list() : ArrayObject

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

list example
# given $hash

my $list = $hash->list;

self

self() : Object

The self method returns the calling object (noop).

self example
# given $hash

my $self = $hash->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