in reply to Find the first occurance and if not found print the first line

You did evaluate the blast modules on CPAN, right? I'm guessing that one or more of those would already be able to parse the blast records into something you can use easily in perl to generate whatever you need. I'm sure it'd require some major restructuring of your code, but it'd also remove a large portion of the code making it easier to read, follow, and understand six months from now.

  • Comment on Re: Find the first occurance and if not found print the first line

Replies are listed 'Best First'.
Re^2: Find the first occurance and if not found print the first line
by sm2004 (Acolyte) on Jun 27, 2008 at 21:12 UTC
    Thank you all for help with the code and other suggestions. I haven't used CPAN, but will look into it too. Thanks again.