On Wed, Jun 06, 2001 at 07:21:19PM -0500, David L. Nicol wrote:
> No, this datum is already known by defined() and exists() all I
> am suggesting is a name for the Perl API name for it. 

Sorry, I didn't read your original post thoroughly enough; yes,
one for defined and exists would be feasible, but IMHO ultimately
pointless.

And you could probably do it in pure Perl anyway by overloading
the ordinary defined and exists operators, so there isn't much need
for it in the core.

> Well, it isn't currently in 5.6.1's
> bool
> Perl_hv_exists(pTHX_ HV *hv, const char *key, U32 klen)

Eh, you probably mean pp_exists, since exists doesn't just act on hashes.

> Making $', $`, and $& lexically scoped too could solve their
> performance hit issues too.  They're convenient.

Could it really? Have you tried to implement this?

-- 
This week I will definitely have passed the Administrative Event Horizon:
when you spend quite a few more hours doing silly corporate bullshite than
anything remotely technical or to do with the administration of systems.
    - Red Drag Diva

Reply via email to