On Mon, Aug 16, 2004 at 05:09:45AM -0700, Michel Pelletier wrote: : : $P0 = new .PerlArray : pop $P1, $P0 : : kills the process with a 'Array index out of bounds!'. Is there a way : to get an exception I can catch out of this? Right now I check the : depth every time I want to pop, which adds a lot of overhead per pop.
If it's really a PerlArray, it oughta return an undef containing an unthrown exception.
Which means what, exactly? (And then there's the "is it perl 5 or perl 6", since perl 5 arrays should return a plain undef in this case, so I'm presuming it's perl 6...)
--
Dan
--------------------------------------it's like this------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk