in reply to Re^2: Reading two text files parallelly...
in thread Reading two text files parallelly...

See the first four items of Perl Best Practices Chapter 10 (I/O), namely:

Using lexical file handles is better style because:

The old two-argument form of open is subject to various security exploits as described at Opening files securely in Perl.