in reply to Re^2: how array variables are stored in memory
in thread how array variables are stored in memory
Ah! so the “elements” of an array are always pointers. (So, accessing an element: $array[2] requires at least two dereferences: one for the subscript and another for the pointer.) Thanks, I didn’t know that! I really must read up on Perl internals. Best place to start?
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how array variables are stored in memory
by davido (Cardinal) on Feb 06, 2014 at 07:14 UTC |