http://qs321.pair.com?node_id=906217


in reply to Re^2: How to process multiple input files?
in thread How to process multiple input files?

Ah, you are only reading once. I see what you were asking now.

Making a while loop out of it like so:

my $line; while (defined ($line = <>)) {
will repeat until there are no files left.