I have many short array
@seq1 /773..1447/ @seq2 /1 2 1843..1881 1923..2001/
but i use push
push(@add, @seq1);
push(@add, @seq2);
but it shows like it combine all array into one can't get each sub-array any more
/773..1447 1 2 1843..1881 1923..2001/
when i use
$number=@add;
it shows 6, but it should be 2. Can anyone explain the reason and how to change it.
When i use for loop to add each array
for(..){
@temp= split(/,/,$_);
push(@add, \@temp);
}
Then when i print @add; it only shows memory address, How can show all data in @add