Patrick R. Michaud wrote:
This is also related to RT #62948, where null values appear in arrays and other
aggregates. Instead of adding a bunch of "is this value null" checks
throughout the code, I'd prefer to look for a way to automatically promote nulls into
undefs at the appropriate points
Patrick R. Michaud wrote:
Is it feasible to catch all "Null PMC access" exceptions at the
top-level, promote PMCNULL to Undef (or Failure) and resume from
exception?
Good thinking... but there's not anything to "promote" -- i.e., from an
exception handler we wouldn't have the ability to change
On Tue, Mar 03, 2009 at 11:01:22AM +1100, Vasily Chekalkin wrote:
> Patrick R. Michaud wrote:
>>> Is it feasible to catch all "Null PMC access" exceptions at the
>>> top-level, promote PMCNULL to Undef (or Failure) and resume from
>>> exception?
>>
>> Good thinking... but there's not anything to "p
On Tue, Mar 03, 2009 at 10:21:33AM +1100, Vasily Chekalkin wrote:
> Patrick R. Michaud wrote:
>> This is also related to RT #62948, where null values appear in arrays and
>> other aggregates. Instead of adding a bunch of "is this value null" checks
>> throughout the code, I'd prefer to look for