Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^12: Getting for() to accept a tied array in one statement

by perlancar (Hermit)
on Apr 26, 2019 at 03:00 UTC ( [id://1233007]=note: print w/replies, xml ) Need Help??


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 :-)

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1233007]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found