in reply to Glob + list = list concatenation
(The reason for keeping the body of the loop in the subroutine is that that way you will be sure you only need to make any changes in one place.while (defined($line=shift @values)) { process($line); } while (defined($line=<$filehandle>)) { process($line); }
|
|---|