my $lline; foreach my $line (@arr) { ## stuff goes here; $lline = $line; } [download]
In reply to Re: Foreach Loops by holli in thread Foreach Loops by hubb0r