in reply to Re: The behavior of array and hash OPs
in thread The behavior of array and hash OPs

How about if I claim that when perl gets the thing from the array, it is not a copy of the value because when I change it, the array changes?
  • Comment on Re^2: The behavior of array and hash OPs

Replies are listed 'Best First'.
Re^3: The behavior of array and hash OPs
by frieduck (Hermit) on Jun 22, 2011 at 16:05 UTC
    How about you claim that "the foreach loop index variable is an implicit alias for each item in the list that you're looping over. " as mentioned in the perlsyn section on foreach?
    A reply falls below the community's threshold of quality. You may see it by logging in.