in reply to Re^11: Getting for() to accept a tied array in one statement
in thread Getting for() to accept a tied array in one statement

Perhaps we need to consult p5p before deeming it as a bug :-)
  • Comment on Re^12: Getting for() to accept a tied array in one statement

Replies are listed 'Best First'.
Re^13: Getting for() to accept a tied array in one statement
by ikegami (Patriarch) on Apr 28, 2019 at 19:13 UTC

    The fact that for ((), @a) calls it once means you're relying on internal implementation. Whether you call it bug or undefined behaviour doesn't matter.