D
David Dyer-Bennet
I know $#foo is the max subscript of @foo.
What's the max subscript of $f = [5, 4, 5, 4, 9]? (Yeah, I know, it's
4).
That is, if I have an array ref, how do I get the max subscript of
that array, without copying the whole thing to a temporary array?
What's the max subscript of $f = [5, 4, 5, 4, 9]? (Yeah, I know, it's
4).
That is, if I have an array ref, how do I get the max subscript of
that array, without copying the whole thing to a temporary array?