[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Sorting Arrays



On Fri, May 21, 1999 at 10:11:28PM -0700, Jon and Joetta wrote:
> $test{'1'} = "z";
> $test{'2'} = "a";
> $test{'3'} = "q";
> 
> @test = sort { $age{$a} <=> $age{$a} } keys %test;
                                  ^^^^
try making that $b instead...

Now to sleep...

dave

-- 
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
"What is this Japanese preoccupation with the name Ken???" - Tom Servo

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org