New Perl module

Released a small new perl module, it isn’t extremely unique. But it does do what I want in what I think is the best way. And hopefully also accoording to others.

It’s called Hash::Mogrify and provides a couple of nicely formatted and overloaded functions.

  • kmap provides a map like function for keys
  • vmap a map like functions for values
  • hmap does it for both keys and funtions
  • ktrans is like kmap but works through a translation hash instead of a code block.

I’ve already released a 0.02 version with some added features that where requested. If you have some cool sugestions for what it should do, let me know and I might implement them.

Ofcourse you can find it on CPAN

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Technorati
  • Reddit
  • TwitThis

Leave a comment