http://www.perlmonks.org?node_id=421275


in reply to Re: Genbank file parsing
in thread Genbank file parsing

You might find it easier if your consider the file as a long string, one that happens to contain embedded newline characters.
IMHO this qualifies as a particularly bad answer since he specifically pointed out that his file is large and it is always recommended not to slurp large files all at once if possible. Now I don't see anything here that suggests this to be necessary...

Replies are listed 'Best First'.
Re^3: Genbank file parsing
by EdwardG (Vicar) on Jan 11, 2005 at 14:41 UTC

    It depends just how large the file is, how much memory is available, and other various trade-offs. But you are probably right in general, although I would quibble about "particularly bad" :-/