Subject: | Lazier should use exists() |
exists($array[$i]) works by checking if the slot is to &PL_sv_undef (as opposed to an undef SV),
and delete sets that. This even carries over between two arrays, and IMHO is a superior way of
keeping track of of uninitialized state than definedness.
If you'd like I can put together a patch