Thanks so much for your reply Gunnar,

The purpose is as follows.

For example these lines:

AGCGGGGAG,AGCGGGGCG,AGCCGGGCG,AGCCAGGAG 15.188721875540
AGCGGAGCG,AGCCGAGGG,AGCGGAGGG           16.163408331891
\_____________________________________/ \_____________/
      @Array1                               $Key1

Is that an array with 7 elements?

No. They are 2 arrays each with 4 elemeents and 3 elements. For this I want to store them in hash of array.

What do you mean by the scalar variable $Key1 that points to 2
numbers?

What I mean by scalar of variable is : $Key2=scalar(@Array1) i.e the number of elements of that array.

So $Key2 for line1 = 4,
and $Key2 for line2 = 3

I want to sort the hash based on this value as well as $Key1.

I am sorry for my unclear statement previously.



Can you try to explain again what it is you want to know?


Am I doing the right thing by using hash with multiple keys for sorting purpose?

Regards
Edward WIJAYA
SINGAPORE

--
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