Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_perl thread: Sort 2D hash


Message #1 by "Chris Ralph" <webmaster@g...> on Mon, 25 Nov 2002 07:11:16
Nevermind, found the solution myself:
@keys = sort { $entry{$a}{'field'} cmp $entry{$b}{'field'} } keys %hash;

Chris



  Return to Index