--- Sean O'Rourke <[EMAIL PROTECTED]> wrote: > > Let me rephrase. How should the PerlArray pmc > > handle negative indecis when the absolute value of > > the index is greater than the size of the array. > > IMHO it would be most consistent with the way > autovivification of positive indices works to extend > the array to the left and set the first element, e.g. > > @a = (1); > @a[-3] = 2; > # @a == (2, undef, 1) >
Hmmm. I hadn't even thought about expanding left and shifting everything else right. I like your way, so .... if that's what everyone wants, I'll try my hand at a patch. cheers, Stephen Rawls __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com