Reviews by Paul Hoffman

cpanratings
 

RSS

Data-FixedFormat (0.04) *****

It's a very handy module, and the author has added lots of tests.

String-Divert (0.96) *****

Brilliant!

Hash-Merge (0.07) ****

This module comes in very handy for those occasions where you have two (or more) hashes whose data you want to combine without clobbering duplicate key/value pairs. For example, merging { one => [ 1 ] } and { one => [ 2, 3 ] } yields { one => [ 1, 2, 3 ] }. Better yet, you control which hash (left or right) is given precedence in the case of scalar elements, so merging { one => 1 } and { one => 2 } can yield { one => 1 } or { one => 2 } depending on whether you set the precedence to left or right. Best of all, it works recursively with DWIMMERY! (Hint: to merge 3+ hashes, just do { $h = shift @hh; $h = merge($h, $_) foreach @hh }. One nit: the argument to set_behavior should be a string, e.g., Hash::Merge->set_behavior('RIGHT_PRECEDENT').)