Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: reading lines from 2 different files

by ikegami (Patriarch)
on Oct 08, 2007 at 18:58 UTC ( #643537=note: print w/replies, xml ) Need Help??


in reply to Re: reading lines from 2 different files
in thread reading lines from 2 different files

Your code silently ignores extra lines in file2.
  • Comment on Re^2: reading lines from 2 different files

Replies are listed 'Best First'.
Re^3: reading lines from 2 different files
by toolic (Bishop) on Oct 08, 2007 at 19:15 UTC
    Yes, I realize that, but thanks for explicitly pointing it out. The OP stated that the 2 files have the "same number of lines". So, I presumed that the OP would be checking that ahead of time.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2023-03-29 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (70 votes). Check out past polls.

    Notices?