$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.
TIA, -Michel