Hi all, ok here is the fundamental code
print "\n\n**Summary**\n"; foreach my $key (keys %runset){ printf ( "%-20s %-20s\n",$key, $runset{$key}); } Now I want to sort this hash for example print "\n\n**Summary**\n"; foreach my $key (keys %runset){ print "Name $runset{foo}" # .. other specific keys printf ( "%-20s %-20s\n",$key, $runset{$key}); } The question is how can I sort the remaining keys that I haven't already printed before. Basically I want to format this so certain keys get printed in a certain order, but there may be some remaining keys that I want printed that I really don't care about. (a "catch-all" if you will) Thanks -- Steven M. Klass Physical Design Manager National Semiconductor Corp 7400 W. Detroit Street Suite 170 Chandler AZ 85226 Ph:480-753-2503 Fax:480-705-6407 [EMAIL PROTECTED] http://www.nsc.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]