Sorting Hash of arrays by how many elements

2003-02-03 Thread Paul Kraus
This is straight from the camel pg 277. Unless I misunderstand this then the items with 3 elements should be at the top not in the middle. What am I doing wrong? Can someone break down what the sort statement in this situation is doing. References are still confusing the hell out of me. My code

Re: Sorting Hash of arrays by how many elements

2003-02-03 Thread Wiggins d'Anconia
See inline. Paul Kraus wrote: This is straight from the camel pg 277. Unless I misunderstand this then the items with 3 elements should be at the top not in the middle. What am I doing wrong? Can someone break down what the sort statement in this situation is doing. References are still confusi

Re: Sorting Hash of arrays by how many elements

2003-02-03 Thread Jenda Krynicky
From: "Paul Kraus" <[EMAIL PROTECTED]> > This is straight from the camel pg 277. > Unless I misunderstand this then the items with 3 elements should be > at the top not in the middle. What am I doing wrong? > > Can someone break down what the sort statement in this situation is > doing. Referenc

Re: Sorting Hash of arrays by how many elements

2003-02-03 Thread Peter Scott
In article <008301c2cbbd$15c27c40$8afea8c0@pkraus>, [EMAIL PROTECTED] (Paul Kraus) writes: >This is straight from the camel pg 277. >Unless I misunderstand this then the items with 3 elements should be at >the top not in the middle. >What am I doing wrong? > >Can someone break down what the sort

RE: Sorting Hash of arrays by how many elements

2003-02-04 Thread Paul Kraus
DOHT! Ya that would do it wouldn't it. Thanks. -Original Message- From: Jenda Krynicky [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 6:16 PM To: Perl Subject: Re: Sorting Hash of arrays by how many elements From: "Paul Kraus" <[EMAIL PROTECTED]> &g