in reply to Multiple Levels of Array Dereferencing Have me Stumped

It looks to me like a mistake. I just wrote to Damian to ask about it. When I get an answer, I'll post.
  • Comment on Re: Multiple Levels of Array Dereferencing Have me Stumped

Replies are listed 'Best First'.
Re: Multiple Levels of Array Dereferencing Have me Stumped
by Dominus (Parson) on Nov 27, 2000 at 02:23 UTC
    Damian Conway, the original author of the code in question, says:
    That's so baroque, I'm sure it must originally have been intentional, though it's now clearly vestigial.

    An earlier version probably did something like:

    foreach (@{[@{$_[0]}]}) {...}
    where the inline copy was essential, presumably to prevent $_ iterating the original arguments. And then I simply forgot to correct it when I changed the structure.

    I've changed it now. Thanks.