I suspect the problem is trailing whitespace (carriage returns, line feeds, spaces etc) on your sequences
poj# Remove comment line(s) $para =~ s/^\s*#.*//mg; # Trim trailing white space $para =~ s/\s+$//; # add this ..
In reply to Re^16: how to read input from a file, one section at a time?
by poj
in thread how to read input from a file, one section at a time?
by davi54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |