in reply to Arrays: Last-index special variable vs. scalar values
If you have:
the index of the last element is 2, because@a = (1,3,5);
is the last element. The *value* of the last element is "5", but that's neither here nor there.$a[2]
Does that make sense?
|
|---|