Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Unique key identifer?

by lecb (Acolyte)
on Jun 28, 2014 at 12:41 UTC ( #1091548=note: print w/replies, xml ) Need Help??

in reply to Re: Unique key identifer?
in thread Unique key identifer?

Thank you for your response. The 2 file structure is merely to mimic what I am trying to do for a more complicated program. I have to refer to another file which has for a particular "fruit", a + or -. From the information held in that file I then act on the data in the other file.

My files are 44,000 lines long and created from some hefty scripting way out of my control, so needs to be kept in this structure.

Will give this a go, thank you.

Replies are listed 'Best First'.
Re^3: Unique key identifer?
by Laurent_R (Canon) on Jun 28, 2014 at 19:10 UTC
    Yeah, I also thought that your problem was probably not about apples, cherries and bananas. The reason I removed the opening and reading of the first file is that it was not useful for the problem you described, since all needed information was in the second file. I hope my suggested code still helps you, and I am sure many monks, including myself, will be glad to help you if you provide a scenario closer to your actual problem.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1091548]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2018-05-24 20:26 GMT
Find Nodes?
    Voting Booth?