in reply to
Sorting hash keys according to different criteria
Depending on what you're doing with this you might find an array of hashes useful. This would give you the data in the fixed order ordained by the calendar - you could then pull it out however you liked, and even have a framework for adding more info.
etc etc etcmy @months = ( { name => "January", days => 31, }, { name => "February", days => 28, # or whatever... there's another prob },
|
Comment on
Re: Sorting hash keys according to different criteria
Download Code | |
|---|---|
| Re: Re: Sorting hash keys according to different criteria by Anonymous Monk on Jun 24, 2003 at 20:57 UTC | |
by George_Sherston (Vicar) on Jun 24, 2003 at 21:46 UTC |