Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Order-Preserving and Unique: Tie::IxHash

by bsb (Priest)
on Jul 31, 2003 at 05:12 UTC ( #279489=note: print w/replies, xml ) Need Help??


in reply to Order-Preserving and Unique: List Cleanup

If I understand what you're after then Tie::IxHash is it.

Tie::IxHash - ordered associative arrays for Perl

I has the uniqueness of a hash and the order of an array. In your case you could just use the keys and ignored the values. You can also access all normal array operations via the tied object.

Brad

  • Comment on Re: Order-Preserving and Unique: Tie::IxHash

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://279489]
help
Chatterbox?
Discipulus some monks here around are flammable.. or well they interact like a porcupine and an airbaloon

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2017-01-20 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.