in reply to Re^3: How to amend character count.
in thread How to amend character count.

I still can not understand why I can not link the lines that start with >hsa and why it only captures the ATG.

while (my $line = <>){ reads the line with the >hsa and then $line = <>; reads the next line.

Replies are listed 'Best First'.
Re^5: How to amend character count.
by thanos1983 (Parson) on May 07, 2017 at 17:47 UTC

    Hello Anonymous Monk,

    I finally got it, thank you for the explanation it is more clear now.

    I will update my answer just for personal future reference.

    Seeking for Perl wisdom...on the process of learning...not there...yet!