@lines1= split(//,"CACTATGAGTGATCGC"); @lines2= split(//,"ACTGACTAATGCGTTG"); @array = map { $lines1[$i++] eq $_ ? $lines1[$i-1] : '*' } @lines +2; print join "",@array;
Artist
In reply to Re: comparing strings
by artist
in thread comparing strings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |