Am Donnerstag, 17. August 2006 08:24 schrieb Chip Salzenberg:
> The None class serves no useful (portable) purpose and it should be
> removed, especially from the public interface of Hash.

... and the None class is gone.

As mentioned:

  $S0 = hsh['no_such_key']

is unchanged and returns ''

and

  $P0 = hsh['no_such_key']

returns the NULL PMC which can be tested for with:

  PASM                 # PIR
  if_null $P0, ...     # if null $P0 goto ...

or

  unless_null $P0, ... # unless null $P0 goto ...

leo

Reply via email to