Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: best data structure

by thelenm (Vicar)
on Aug 28, 2002 at 15:34 UTC ( [id://193484]=note: print w/replies, xml ) Need Help??


in reply to best data structure

You may want to look into Tie::IxHash. That module implements Perl hashes that preserve the order in which the hash elements were added. You can use the normal hash functions, such as exists, and you can also use "arrayish" functions, such as Push and Shift.

-- Mike

--
just,my${.02}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://193484]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (None)
    As of 2024-04-19 00:22 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found