I was wondering if perl would be handling negative array indices in the same manner as perl 5? That is to FETCHSIZE + index = real index, before attempting to fetch the element. It would be swell if the index was passed along as negative, and to then have the guts do this voodoo. This way, one could tie an array to Class which used two arrays to emulate real negative indices (as opposed to count from the back).
- Re: negative indices Jerrad Pierce
- Re: negative indices Melvin Smith
- Re: negative indices Dan Sugalski