Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: A pair of "mathematical" attributes for arrays?by jettero (Monsignor) |
on Sep 10, 2007 at 11:06 UTC ( [id://638031]=note: print w/replies, xml ) | Need Help?? |
You could get array FETCH()es that did precisely what you want by using Tie::Array. In fact, if you used @ISA = ('Tie::StdArray'), it wouldn't even be very much work — I mean for this idea to help with changing the behavior of a negative index operation. -Paul
In Section
Meditations
|
|