in reply to Re^6: Negative array subscript method call bug?
in thread Negative array subscript method call bug?

So what do you expect it do instead? Do you want it to be such that

$x->[-1]=$y; # is the same as $x->[0]=$y; # when @$x==0 ?

---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi


Replies are listed 'Best First'.
Re^8: Negative array subscript method call bug?
by BUU (Prior) on Aug 08, 2004 at 20:04 UTC
    No, the assignment error is fine, I don't really care about it.

    I want
    $x[-1]->meth
    To be the same as
    $x[0]->meth
    When @x is empty.