Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Merge::HashRef 0.01

    Download button

    No screenshots available
    Downloads: 367  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.3/5)
    6 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Stray Toaster | More programs
    Perl Artistic License / FREE
    December 4th, 2007, 19:32 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    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 APPRECIATION

    There 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.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    merge hashref | Perl class | Perl module | hashref | merge | hash

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM