NAME
MooseX::Autobox::More - Imports additional useful methods to Moose::Autobox
SYNOPSIS
use Moose::Autobox;
use MooseX::Autobox::More;
[ [ 1 .. 5 ], [[ 6 .. 10]] ]->smash; # [ 1 .. 10 ]
[ { key1 => 'val1', key2 => 'val2' }, { key3 => 'val3', key4 => 'val4' },
{ key5 => 'val5', key6 => 'val6' }, { key7 => 'val7', key8 => 'val8' },
]->reduce(sub { $_[0]->merge($_[1]) });
# { key1 => 'val1', key2 => 'val2', key3 => 'val3', key4 => 'val4',
# key5 => 'val5', key6 => 'val6', key7 => 'val7', key8 => 'val8' },
DESCRIPTION
This package provides additional methods not included in Moose::Autobox. More methods will be added over time.
METHODS
see public methods in MooseX::Autobox::More::Array
AUTHOR
Michael Swearingen <mswearingen@gmail.com>
with help from:
Chris (peregrin) Prather
Ricardo (rjbs) Signes
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.