| CPAN Ratings (Gamma) Tie-IxHash reviews | |
| Home | Search | About | Login |
RSS | Module Info | Add a review of Tie-IxHash
2 out of 2 found this review helpful:
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 (<) => '<'
);
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
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
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
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|