in reply to Does a foreach create a scalar reference?

Does this foreach construct make $element a reference to the underlying list element?

Yes, it does.

  • Comment on Re: Does a foreach create a scalar reference?