At 9:33 PM -0400 8/16/02, Melvin Smith wrote: >At 03:45 PM 8/16/2002 -0400, Jerrad Pierce wrote: >>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). > >I think for tying to work this will have to be done just as you say.
Currently I'm planning on just passing in whatever the program generates and let the vtable functions deal with it. If the Perl code wants to fiddle with the index before passing to the mainline subs, that's OK. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk