![]() |
|
No such thing as a small change | |
PerlMonks |
Re: reading lines from 2 different filesby duff (Parson) |
on Oct 08, 2007 at 15:41 UTC ( #643487=note: print w/replies, xml ) | Need Help?? |
Something like this:
Basically you just use the "read a record" operator (<>, aka diamond operator) on each file handle. See also readline.
In Section
Seekers of Perl Wisdom
|
|