Ah, thank you,
So presumably next if ($_ = /^chrM/); would also be correct?
Cheers
In reply to Re^4: Trouble skipping lines using Perl by LeBran in thread Trouble skipping lines using Perl by LeBran