On Mon, 27 Aug 2001, Geoffrey Young wrote:

> 
> ok, here is my first go - I'm not sure if it is sylistically what you were
> after, but I will rework it some to suit now that the proof-of-concept is
> over...
> 
> just out of curiosity, I tried to get the method name from the gv returned
> from sv_2cv using GvNAME and kept segfaulting, then I noticed you never used
> that gv in similar calls... is that gv unreliable?

not sure, but CvGV(cv) should be reliable.

> +    is_method = perl_cv_ismethod(cv);
> +
>      if (!is_method && (cv && SvPOK(cv))) {
>         is_method = strnEQ(SvPVX(cv), "$$", 2);
>      }

perl_cv_ismethod should also include this $$ prototype check, no?
otherwise looks good.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to