Michel Pelletier writes: > > We have to through an IndexError exception for Python. But that's not > > done yet. > > Okay, I'll keep depth checking. I thought about attempting a patch, but > Larry says return an undef containing an unthrown exception, Dan wonders > if it should be an empty undef, and you say throw an exception, so I'm > unsure what patch y'all want. ;)
If it's a PerlArray, return an undef of some kind. It needn't contain an unthrown exception yet (but if you can figure out how to do that, great). A bare undef should be fine. Luke