[Templates] Sorting hash keys numerically

Drew Taylor dtaylor@vialogix.com
Thu, 24 Aug 2000 13:34:55 -0400


I have a hash that I would like to interate through by numerical order
than than ASCII order. In other words how do I do the following:

foreach (sort {$a <=> $b} keys %hash) {	blah }

Any thoughts? Would anyone else find this useful?

-- 
Drew Taylor
Vialogix Communications, Inc.
501 N. College Street
Charlotte, NC 28202
704 370 0550
http://www.vialogix.com/