>  
> What is going on that I haven't understood?
>  
> Rgds, GStC.

Your entire problem is :

foreach $capval ( sort bynumber %capdef ) {

Perhaps you want to sort by the KEYS of %capdef

foreach $capval ( sort keys %capdef ) { 
}

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
        Lawrence Statton - [EMAIL PROTECTED] s/aba/c/g
Computer  software  consists of  only  two  components: ones  and
zeros, in roughly equal proportions.   All that is required is to
sort them into the correct order.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to