sourCEntral - mobile manpages

pdf

Moose::Autobox::Hash

NAME

Moose::Autobox::Hash − the Hash role

VERSION

version 0.16

SYNOPSIS

  use Moose::Autobox;
  print { one => 1, two => 2 }−>keys−>join(', '); # prints 'one, two'

DESCRIPTION

This is a role to describes a Hash value.

METHODS

"delete"
"merge"

Takes a hashref and returns a new hashref with right precedence shallow merging.

"hslice"

Slices a hash but returns the keys and values as a new hashref.

"flatten"

Indexed implementation
"at"
"put"
"exists"
"keys"
"values"
"kv"
"slice"
"each"
"each_key"
"each_value"
"each_n_values"
"meta"
"print"
"say"

SUPPORT

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Moose-Autobox> (or bug−Moose−Autobox AT rt DOT cpan DOT org <mailto:bug-Moose-Autobox AT rt DOT cpan DOT org>).

There is also a mailing list available for users of this distribution, at <http://lists.perl.org/list/moose.html>.

There is also an irc channel available for users of this distribution, at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.

AUTHOR

Stevan Little <stevan DOT little AT iinteractive DOT com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2006 by Infinity Interactive, Inc.

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

pdf