Thanks for your quick reply. I modified the script as follows:
my(@kmers); for my$x (@AoA){ for my$y (@$x){ push @kmers, $y =~ /^(\w+)/; print @kmers."\n"; } }
but I am getting this output: 1 2 3 4 5 6 7 8 9 10 11 12 ... Is it printing just the scalar value? If so, why is that? I am often having this problem in other situations
In reply to Re^2: First word
by Anonymous Monk
in thread First word
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |