> I need to order a hash, called condorhash, based on the key > value. So what I did is: > > my @condorhash = keys(%condorhash); > sort @condorhash; > > Now I want to take the order of the array and apply it to the > hash while keeping the values associated with the key. I know > there is some way to make a pointer run down through the > hash, but I don't know how.
Is this what you're lookinf for:? for(sort(keys %condorhash)) { print "Key is -$_- Value is $condorhash{$_} \n"; } HTH DMuey > > Thanks, > > Brian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]