This is a test version of Biostars. For the public version, visit https://www.biostars.org.
A Question About Hash In Perl

Hi guys,

I'm a new one who study perl language by self. Right now I'm learning hash part, which confuse me so much. For example, here is a array like that: A 1 A 2 A 3 B 4 B 5 Would you please tell me how to convert it to a new array by hash: A 1 2 3 B 4 5 And if convenient, would you please post the annotation for each line in the script? Thank you in advance.

Regards, QG

deleted-post

0 answers

No answers yet.

Log in to answer this question.