Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Advice - storing data - which structure do you recommend? (details inside)

by cyocum (Curate)
on Mar 17, 2002 at 22:43 UTC ( #152363=note: print w/replies, xml ) Need Help??


in reply to Advice - storing data - which structure do you recommend? (details inside)

If you want to stay within Perl to do this, you could use the Perl sort function. It allows you to write what is basically an anonymous sub to let you sort anyway you want. Of couse, this puts a constraint on your data structure to an array but if all the attributes are always in the same order then it does not make much difference.

  • Comment on Re: Advice - storing data - which structure do you recommend? (details inside)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2020-04-10 04:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (49 votes). Check out past polls.

    Notices?