Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Reading concurrently two files with different number of lines

by frogsausage (Sexton)
on Apr 11, 2013 at 09:03 UTC ( #1028099=note: print w/ replies, xml ) Need Help??


in reply to Re: Reading concurrently two files with different number of lines
in thread Reading concurrently two files with different number of lines

Thank you for the link to Finite-State-Machine. I have made myself a couple of scenarios I could use to resolve my case, each having of course pros and cons.

In term of following code complexity, it would be much simple to read first and append then compute later.

As for Fortan, the file format I am dealing with was output by some Fortran code when it was created. However, even though the file can now go further 80 characters per line, it seems the + was there with that limit in mind and has been kept for legacy purposes.

I am now going to implement that, taking in account all your feedbacks and I will definitely come back to let you know about how it goes! Hopefully it will be for something positive :)

P.S: you are not old, just some are younger than you, and most probably lots are older than you! However I am of the first kind, never read Fortran.


Comment on Re^2: Reading concurrently two files with different number of lines

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2014-10-21 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (97 votes), past polls