RSS | Module Info | Add a review of Tie-IxHash

1 out of 1 found this review helpful:

Tie-IxHash (1.21) *****

An invaluable module that has saved me countless hours of time. Perl really should incorporate ordered hashes natively, but until then, this module saves the day.

Ivan Kohler - 2009-06-03 07:31:31
Was this review helpful to you?  Yes No

2 out of 4 found this review helpful:

Tie-IxHash (1.21) *****

I use this module often enough that I think it should be bundled with Perl.

Dan Dascalescu - 2009-03-22 00:13:01
Was this review helpful to you?  Yes No

3 out of 3 found this review helpful:

Tie-IxHash (1.21) *****

There are really occassions when you want the order preserved. Consider the following snippet for XML special character conversion. You can now say:

tie (%escape_symbols, Tie::IxHash,
qq (&) => '&',
qq (\042) => '"',
qq (>) => '>',
qq (<) => '&lt;'
);

Imagine using these key,value pairs in a regex for substitution. Here the order is vital, as the & signs needs to be replaced first, otherwise your routine might clobber over the & symbols you use for the other replacements!

Neat and simple package, that does exactly what it says it will do.

Mark Kramer - 2008-05-11 12:00:45
Was this review helpful to you?  Yes No

4 out of 4 found this review helpful:

Tie-IxHash (1.21) ****

I only use it on rare occasions, but when I need it, it's great. It does exactly what it says: you get a hash that preserves order. Great!

Ricardo SIGNES - 2007-12-21 07:52:33
Was this review helpful to you?  Yes No

Tie-IxHash (1.21) *****

If you need an ordered hash, this is the module for you. Very handy and well documented.

Daniel Berger - 2003-09-06 06:36:52
Was this review helpful to you?  Yes No


the camel