in reply to 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.
my $data = do {local $/; <DATA>}; my @items = map { { 'name' => $1, 'niceinfo' => $2 } } ($data =~ /^FEATURES(.+?)^ORIGIN(.+?)^\/\//msg);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Genbank file parsing
by blazar (Canon) on Jan 11, 2005 at 14:03 UTC | |
by EdwardG (Vicar) on Jan 11, 2005 at 14:41 UTC |
In Section
Seekers of Perl Wisdom