Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Array of Arrays: why is "$VAR1->[0][1]" and the like embedded within?

by Athanasius (Archbishop)
on Jun 11, 2018 at 05:41 UTC ( [id://1216367]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Array of Arrays: why is "$VAR1->[0][1]" and the like embedded within?
in thread Array of Arrays: why is "$VAR1->[0][1]" and the like embedded within?

Sure, that gives a better view of the contents of the data structure. But it doesn’t show that the second occurrence of the anonymous array [ 2, 3 ] has the same address as (= is the same anonymous array as) the first — which is what I was intending to demonstrate.

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^5: Array of Arrays: why is "$VAR1->[0][1]" and the like embedded within?
by corenth (Monk) on Jun 11, 2018 at 15:32 UTC
    But, it helps me see the relationship through the code --> pulling the values from the reference. This, and your visualization, are helping me look at how to manipulate the references to my needs, even when I'm still having trouble understanding the underlying issue.
    $state{tired}?sleep(40):eat($food);

Log In?
Username:
Password:

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

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

    No recent polls found