in reply to Parse::RecDescent help

Ignoring your problem for a second, that looks like some gene sequence stuff ie bioperl, is it? If it is, chances are there already exist tools for dealing with those files (maybe bioperl-db).

Now, as to your grammar, did you really mean to hardcode the linenumber in seq_count    : "<160> NUMBER OF SEQ ID NOS:" /\d+/? Are you sure you didn't want seq_count    : "<" /\d+/ "> NUMBER OF SEQ ID NOS:" /\d+/?
update: Take a look at OPTIMIZING YOUR GRAMMARS in Parse::RecDescent::FAQ.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: bioperl instead of Parse::RecDescent?
by glwtta (Hermit) on Mar 30, 2004 at 16:07 UTC
    I'm pretty sure that this format is something the PSIPS people just made up and that BP doesn't have anything for it (not that their stuff is exactly speedy, either).