Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Select only desired features from a text

by RichardK (Priest)
on Mar 19, 2012 at 12:24 UTC ( #960403=note: print w/ replies, xml ) Need Help??


in reply to Select only desired features from a text

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' ;)


Comment on Re: Select only desired features from a text
Re^2: Select only desired features from a text
by remluvr (Sexton) on Mar 19, 2012 at 14:12 UTC
    Problem is, it is a 4G file..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://960403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (15)
As of 2014-07-24 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (161 votes), past polls