Hi all, I want to store alignment results( that is why I asked about struct yesterday). I thougt that I could just push seq1 seq2 and the score to an array and can acess them by using $k*3 + $n ($n=0 for seq1 $n=1 for seq2 $n =2 for score) But I also have a sort of grouping of the alignment which is denoted by $p. So I wanted to use a matrix so in each row I would have one group (group index is $p) and in that row alignments features(seq1 seq2 score) I tried this:
$p=0; $seq1="A--V"; $seq2="AAAV"; $score=-5; [EMAIL PROTECTED]; push @$ref,$seq1; push @$ref,$seq2; push @$ref,$score; when use this way it gives the error "Not an array reference". I think I should declare the-two dimensional array so i thought adding $subalignments[0][0]=0 (silly I know) would work- didn't work:) Could anyone help me out? Thank you in advance oznur