in reply to Re: for vs foreach?in thread for vs foreach?
sub foo { my $array = @_; foreach ($array) { print "$_\n"; } } [download]