Ordered associative arrays for Perl
This Perl module implements Perl hashes that preserve the order in
which the hash elements were added. The order is not affected when
values corresponding to existing keys in the IxHash are changed.
The elements can also be set to any arbitrary supplied order. The
familiar perl array operations can also be performed on the IxHash.
This is the README file for Tie::IxHash, the Perl module that
implements ordered in-memory associative arrays.
Perl Version 5.003 or later.
If you have been led to believe that associative arrays in perl
don't preserve order, and if you have ever craved for that feature,
this module is for you. Simply declare a "tie" for the hash variable
that you want to be order-preserving, a
Tie::IxHash(3) User Contributed Perl Documentation Tie::IxHash(3)
Tie::IxHash - ordered associative arrays for Perl
# simple usage
tie HASHVARIABLE, Tie::IxHash [, LIST];
# OO interface with more powerful features
TIEOBJECT = Tie::IxHash->new( [LIST] );
HISTORY - release history for Tie::IxHash
=item 1.21 (5 January 1998)
Key()/Values()/Indices() now return a single value when called with single
argument (makes them useful in scalar contexts)
Repackaged into a tarball.
Added a testsuite.
C<s/TieHash/Tie::Hash/g> suggested by Michael De La Rue <email@example.com>.
Browse inside perl-Tie-IxHash-1.21-10.1.el6.noarch.rpm
Results 1 - 1 of 1Search over 15 billion files
© 1997-2016 FileWatcher.com