I can't make out where to apply your update3 in your code...if it at all applies to the problem produced in the output "9cn", should be "9nc". Update4?? :)
Chris
Here is the orignal as
stored by http://perlmonks.thepen.com. In a nutshell, my
typo was comparing $b->[1] to $b->[1] instead of $a->[1]. Hope
this does not lead to more confustion. ;)