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

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

Thread Previous
Father Chrysostomos via RT
September 11, 2014 06:05
[perl #116735] lexical subs don't seem to honor prototypes
Message ID:
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

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About