in reply to Re^15: how to read input from a file, one section at a time?
in thread how to read input from a file, one section at a time?
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 ..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^17: how to read input from a file, one section at a time?
by davi54 (Sexton) on Apr 02, 2019 at 18:38 UTC | |
by poj (Abbot) on Apr 02, 2019 at 19:20 UTC | |
by davi54 (Sexton) on Apr 02, 2019 at 21:11 UTC | |
by davi54 (Sexton) on Apr 03, 2019 at 16:49 UTC | |
by poj (Abbot) on Apr 03, 2019 at 17:08 UTC | |
by davi54 (Sexton) on Apr 03, 2019 at 17:24 UTC |