Hash::Merge 0.10
Sponsored Links
Hash::Merge 0.10 Ranking & Summary
File size:
0.007 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
852
Date added:
2007-06-28
Publisher:
Michael K. Neylon
Hash::Merge 0.10 description
Hash::Merge Perl module merges arbitrarily deep hashes into a single hash.
SYNOPSIS
use Hash::Merge qw( merge );
my %a = (
foo => 1,
bar => [ qw( a b e ) ],
querty => { bob => alice },
);
my %b = (
foo => 2,
bar => [ qw(c d) ],
querty => { ted => margeret },
);
my %c = %{ merge( %a, %b ) };
Hash::Merge::set_behavior( RIGHT_PRECEDENT );
# This is the same as above
Hash::Merge::specify_behavior(
{
SCALAR => {
SCALAR => sub { $_[1] },
ARRAY => sub { [ $_[0], @{$_[1]} ] },
HASH => sub { $_[1] },
},
ARRAY => {
SCALAR => sub { $_[1] },
ARRAY => sub { [ @{$_[0]}, @{$_[1]} ] },
HASH => sub { $_[1] },
},
HASH => {
SCALAR => sub { $_[1] },
ARRAY => sub { [ values %{$_[0]}, @{$_[1]} ] },
HASH => sub { Hash::Merge::_merge_hashes( $_[0], $_[1] ) },
},
},
My Behavior,
);
SYNOPSIS
use Hash::Merge qw( merge );
my %a = (
foo => 1,
bar => [ qw( a b e ) ],
querty => { bob => alice },
);
my %b = (
foo => 2,
bar => [ qw(c d) ],
querty => { ted => margeret },
);
my %c = %{ merge( %a, %b ) };
Hash::Merge::set_behavior( RIGHT_PRECEDENT );
# This is the same as above
Hash::Merge::specify_behavior(
{
SCALAR => {
SCALAR => sub { $_[1] },
ARRAY => sub { [ $_[0], @{$_[1]} ] },
HASH => sub { $_[1] },
},
ARRAY => {
SCALAR => sub { $_[1] },
ARRAY => sub { [ @{$_[0]}, @{$_[1]} ] },
HASH => sub { $_[1] },
},
HASH => {
SCALAR => sub { $_[1] },
ARRAY => sub { [ values %{$_[0]}, @{$_[1]} ] },
HASH => sub { Hash::Merge::_merge_hashes( $_[0], $_[1] ) },
},
},
My Behavior,
);
Hash::Merge 0.10 Screenshot
Hash::Merge 0.10 Keywords
HASH
ARRAY
SCALAR
Merge Perl
Merge 0.10
Perl module
1
sub
hashes
Perl
single
0.10
Hash::Merge
HashMerge
Hash::Merge 0.10
Libraries
Bookmark Hash::Merge 0.10
Hash::Merge 0.10 Copyright
WareSeeker periodically updates pricing and software information of Hash::Merge 0.10 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Hash::Merge 0.10 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
hashish
perl modules
hash merge perl
merge perl arrays
install perl module
array merge perl
installing perl module
xml parser perl module
atrpms perl module helper
file merge perl
perl module tutorial
subway coupons
perl hashes
hash brown potato casserole
net ssleay perl module
sub zero
merge perl hash
perl module install
Related Software
Tie::Hash::Sorted Perl module presents hashes in sorted order. Free Download
Set::Hash is a Perl module with hashes as objects with lots of handy methods and support for method chaining. Free Download
Apache::Storage is Perl module containing simple functions to store and retrieve information from within the Apache process. Free Download
Hash::Case is a base class for hashes with key-casing requirements. Free Download
Pogo is a Perl interface for GOODS. Free Download
Perl6::Gather is a Perl module that implements the Perl 6 gather/take control structure in Perl 5. Free Download
Tie::Trace can easy print debugging with tie. Free Download
Data::Inherited is a Perl module with hierarchy-wide accumulation of list and hash results. Free Download
Latest Software
Popular Software
Favourite Software