foreach $line (@lines) { ... }