in reply to Re: Skip chomp?
in thread Base sequence length in fasta format file

Lets hope she doesnt have to run this code on a MS machine. Or one of the other machines where $/ is longer than 1 char. Or have it run on multiple systems simultaneously.

No the safest way is to use chomp and remove the char. Then determine the length, then put the newline back on for printing.

:-)

Yves / DeMerphq
---
Is $/ the same length on every system?