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

Re: Re: Printing a hash in a specific order?

by Limbic~Region (Chancellor)
on Mar 15, 2003 at 15:19 UTC ( #243299=note: print w/replies, xml ) Need Help??

in reply to Re: Printing a hash in a specific order?
in thread Printing a hash in a specific order?

As I said at the bottom of my post. I think if I were to start over, I would use an array (I believe pseudo-hashes are dead for now). I very well may start over since this is my first OO project. Thank you for re-affirming what I already guessed was the most logical solution - starting over.

Cheers - L~R

Update: Using an array doesn't really solve the problem, so starting over is not the answer either. Since new parameters can be added to the record once it is retrieved, the same logic for sorting the output of the hash would have to be used to splice the parameter into the array at the right location.

  • Comment on Re: Re: Printing a hash in a specific order?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2016-10-28 19:58 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.