Data::Context::BEM::Merge - Merge algorithm that merges arrays (not appending them)
This documentation refers to Data::Context::BEM::Merge version 0.0.2
use Data::Context::BEM::Merge; my $merge = Data::Context::BEM::Merge->new(); my $merged = $merge->merge({a => [1,2]}, {a => [2,3]}); # $merged = { a => [2,3] }
merge ($ref1, $ref2)
Merges $ref2 into clone of $ref1.
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
Ivan Wills - (ivan.wills@gmail.com)
Copyright (c) 2013 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Data::Context::BEM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Context::BEM
CPAN shell
perl -MCPAN -e shell install Data::Context::BEM
For more information on module installation, please visit the detailed CPAN module installation guide.