Merge::HashRef

Merge::HashRef is a Perl module to make one hashref out of many!
Download

Merge::HashRef Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Stray Toaster
  • Publisher web site:
  • http://search.cpan.org/~strytoast/Test-Inspector-0.03/lib/Test/Inspector.pm

Merge::HashRef Tags


Merge::HashRef Description

Merge::HashRef is a Perl module to make one hashref out of many! Merge::HashRef is a Perl module to make one hashref out of many!SYNOPSIS use Merge::HashRef; my $hashref = merge_hashref($ref1, $ref2, ...)Recently, I found myself turning lots of hashrefs into a single one. And, I thought, this would be a nice little function to have.So now you have it too!merge_hashref my $hashref = merge_hashref($ref1, $ref2, ...)This takes a list of hashrefs, and returns you one. Of course, the order you pass your hashrefs in IS important, as later key/value pairs will clobber earlier ones. This is deliberate. This is why I wrote this little module!All non-hashrefs get removed from the passed-in list. So don't be doing that.SHOWING YOUR APPRECIATIONThere was a thread on london.pm mailing list about working in a vacumn - that it was a bit depressing to keep writing modules but never get any feedback. So, if you use and like this module then please send me an email and make my day.All it takes is a few little bytes. Requirements: · Perl


Merge::HashRef Related Software