Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Line by line file compare w/ low system memory

by CukiMnstr (Deacon)
on Feb 17, 2003 at 23:15 UTC ( #236147=note: print w/replies, xml ) Need Help??


in reply to Line by line file compare w/ low system memory

As mentioned above, maybe the diff command might do what you need. You could try running it and capturing the output in your perl script, it has many options that control the output format.

You could also try Tie::File by fellow monk Dominus, a module that lets you treat a file like a regular perl array without loading the whole file to memory.

hope this helps,
  • Comment on Re: Line by line file compare w/ low system memory

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2020-02-21 08:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (93 votes). Check out past polls.

    Notices?