This is SwissProt format, right? There exist a number of existing SwissProt tools on CPAN. Have you investigated any of them? If they are not sufficient for your needs, then you could try peeking at their source code to see how they handle parsing.
In reply to Re: reading file
by tobyink
in thread reading file
by aseee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |