in reply to Re^2: Multi-Dimensional Arrays and Array References
in thread Multi-Dimensional Arrays and Array References
Regarding my second question above:
Is it because $ref points to a reference of an array and therefore $ref->[2] would be the third element of that referenced array? Whereas $ref[2] would be the third element of the array @ref which perhaps doesn’t exist in this example?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Multi-Dimensional Arrays and Array References
by AnomalousMonk (Archbishop) on Nov 16, 2020 at 19:38 UTC | |
by Leudwinus (Scribe) on Nov 16, 2020 at 21:28 UTC |