Perl: the Markov chain saw | |
PerlMonks |
Re: Reading two text files parallelly...by JediWizard (Deacon) |
on Nov 08, 2010 at 19:28 UTC ( [id://870173]=note: print w/replies, xml ) | Need Help?? |
You probably want to read each file explicitly and use a "last" (or a breaking variable) to exit the loop when done. something like:
UPDATE: You should probably use strict and warnings, it will give you better diagnostic info on what actually went wrong They say that time changes things, but you actually have to change them yourself. Andy Warhol
In Section
Seekers of Perl Wisdom
|
|