RE: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread Smith Jeff D
Thanks for the feedback--maybe I screwed up but what happens for me is that the ordered array (1) only lists the keys, not the array values the hash key points to and (2) I still don't get an ordered list of the keys that are put in the "ordered" array--it comes out un-ordered. I took your line

Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread WC -Sx- Jones
Smith Jeff D wrote: Thanks for the feedback--maybe I screwed up but what happens for me is that the ordered array (1) only lists the keys, not the array values the hash key points to and (2) I still don't get an ordered list of the keys that are put in the "ordered" array--it comes out un-ordered.

Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread James Edward Gray II
On Feb 19, 2004, at 10:25 AM, Smith Jeff D wrote: Thanks for the feedback--maybe I screwed up but what happens for me is that the ordered array (1) only lists the keys, not the array values the hash key points to and (2) I still don't get an ordered list of the keys that are put in the "ordered

Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread Rob Dixon
Jeff Smith wrote: > > Thanks for the feedback--maybe I screwed up but what happens for me is that > the ordered array (1) only lists the keys, not the array values the hash key > points to and (2) I still don't get an ordered list of the keys that are put > in the "ordered" array--it comes out un-o

RE: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread Smith Jeff D
riginal Message- From: James Edward Gray II [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 11:37 AM To: Smith Jeff D Cc: '[EMAIL PROTECTED]' Subject: Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key On Feb 19, 2004, at 10:25 AM, Smith Jeff D

Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread WC -Sx- Jones
Smith Jeff D wrote: I really need to order both the keys and one of the elements in the array stored as a value in the hash, preferably sort first on the first element of the array (my real application has four elements but the snippet I'm testing with has a two-element array) and then sort secondl

Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread Rob Dixon
Jeff Smith wrote: > > I really need to order both the keys and one of the elements in the array > stored as a value in the hash, preferably sort first on the first element of > the array (my real application has four elements but the snippet I'm testing > with has a two-element array) and then sort

Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread James Edward Gray II
On Feb 19, 2004, at 10:48 AM, Smith Jeff D wrote: I really need to order both the keys and one of the elements in the array stored as a value in the hash, preferably sort first on the first element of the array (my real application has four elements but the snippet I'm testing with has a two-el

Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread James Edward Gray II
On Feb 19, 2004, at 3:20 PM, Smith Jeff D wrote: Thanks, I must have missed it--I'll be getting back to it tomorrow morning to see what I missed in the original response. I thought I had run as printed below. No worries. You probably did run my original response, which was flawed. Mark gave a

RE: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread Smith Jeff D
Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key On Feb 19, 2004, at 10:48 AM, Smith Jeff D wrote: > I really need to order both the keys and one of the elements in the > array > stored as a value in the hash, preferably sort first on the first > eleme

Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread Rob Dixon
James Edward Gray II wrote: > > The Moral: Don't use the original message. Use this one. Far more reliable is: "Don't do what I say, do what I mean." :) Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-19 Thread John W. Krahn
Rob Dixon wrote: > > James Edward Gray II wrote: > > > > The Moral: Don't use the original message. Use this one. > > Far more reliable is: "Don't do what I say, do what I mean." :) After all, Perl is a DWIM language. :-) John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [E

Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-20 Thread R. Joseph Newton
Smith Jeff D wrote: > Thanks for the feedback--maybe I screwed up but what happens for me is that > the ordered array (1) only lists the keys, not the array values the hash key > points to and (2) I still don't get an ordered list of the keys that are put > in the "ordered" array--it comes out un-

RE: An Old Question on Sorting Hash of Arrays by Array element an d th en by key

2004-02-20 Thread Smith Jeff D
ect: Re: An Old Question on Sorting Hash of Arrays by Array element an d th en by key On Feb 19, 2004, at 3:20 PM, Smith Jeff D wrote: > Thanks, I must have missed it--I'll be getting back to it tomorrow > morning > to see what I missed in the original response. I thought I had run as