Well, that depends on how many lines there are in second file. The easiest way is to store the matched records in a hash.
You might find it useful to look at the perl data structures cookbook perldsc
BTW, there is lots of documentation shipped with your copy of perl - try 'man perl' or 'perldoc perl' ;)
In reply to Re: Select only desired features from a text
by RichardK
in thread Select only desired features from a text
by remluvr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |