Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Dealing with large files in Perl

by chas (Priest)
on May 15, 2005 at 17:43 UTC ( [id://457300]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Dealing with large files in Perl

There are some things I don't understand in your code (such as what $newfile is used for), but perhaps that's because not all the code is shown. The main thing I see is that when you are looping over $out1 you are constantly overwriting the variables $myid, etc, with your split so you are going to get results concerning the last line only...and I don't see any attempt to search for a line of a given form (containing some "unique value".)
chas

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://457300]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.