develooper Front page | perl.perl5.porters | Postings from September 2014

[perl #116735] lexical subs don't seem to honor prototypes

Thread Previous
From:
Father Chrysostomos via RT
Date:
September 11, 2014 06:05
Subject:
[perl #116735] lexical subs don't seem to honor prototypes
Message ID:
rt-4.0.18-10359-1410415523-1696.116735-15-0@perl.org
On Wed Sep 10 20:39:40 2014, sprout wrote:
> I was about to do that (separate out part 2 from your patch and polish
> it up), but, as noted above, cannot access that URL.
> 
> Do you still have the patch floating around somewhere?  If not, I will
> just have to write it from scratch.  I need it right now for the stuff
> I’m doing on the sprout/cvgv branch.  (ck_subr reifies GVs and I need
> the alternate call checker API to remove the need for that.)

Actually, having a separate API that takes an SV* would require us to duplicate all the built-in call checkers.

Instead, how about a cv_set_call_checker_flags, and the only flag is CALL_CHECKER_REQUIRE_GV?  cv_set_call_checker calls _flags with that flag.

The name thingy that gets passed to the call checker can be cast to GV *.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=116735

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About