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,

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

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