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


in reply to Re: Using less memory with BIG files
in thread Using less memory with BIG files

Well actually what i want is in this format:

Q8K9W0 | name |PF10417.4/ PF10425.1

the name is in a third file that also has the IC number, the Q8K9W0 part. its the one with this format:

>tr|A0FGZ9|A0FGZ9_9ARCH Methyl coenzyme M reductase (Fragment) OS=uncu +ltured archaeon GN=mcrA PE=4 SV=1 >tr|A0FH03|A0FH03_9ARCH Methyl coenzyme M reductase (Fragment) OS=uncu +ltured archaeon GN=mcrA PE=4 SV=1

so that's what i need. also, what is a three parameter open and lexical file handles? all i know i learnt from the first 6 chapters of Beginning Perl by Simon Cozen

Replies are listed 'Best First'.
Re^3: Using less memory with BIG files
by GrandFather (Saint) on Feb 05, 2012 at 22:45 UTC

    The answer to both your questions happen to be in the open link I gave you. Aside from asking for help here, it is worth finding out how to use the Perl documentation that almost certainly was installed with your Perl. Try typing perldoc from your command line.

    True laziness is hard work