On Sat, Aug 20, 2005 at 01:14:02AM -0400, Tom Lane wrote:
> One thing I was kind of wondering about (this will betray the fact
> that I haven't really studied Perl since it was Perl 4) is what are
> the namespace issues for ::mksafefunc?  In particular, could the
> inner invocation of foo() be executing in some context that makes
> the original definition of mksafefunc inaccessible?  And why, if
> we are careful to declare mksafefunc with ::, don't we call it
> with :: too?

You might be on to something there.  I just changed line 683 in
plperl.c to the following:

    count = perl_call_pv((trusted ? "::mksafefunc" : "::mkunsafefunc"),

My test cases now succeed where they had been failing.  But if
that's the problem, why are your systems behaving differently?

-- 
Michael Fuhr

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to