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

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

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
September 12, 2014 07:27
Subject:
[perl #116735] lexical subs don't seem to honor prototypes
Message ID:
rt-4.0.18-6881-1410506815-666.116735-15-0@perl.org
On Thu Sep 11 22:50:24 2014, pcm wrote:
> I'm not quite sure at what point that got borked, since my local git
> repo still listed it as only a remote branch on github (even though
> github didn't find it).  So for my own sanity, I did a local checkout
> and pushed it back up to github unmodified.  All that said, it's
> probably not useful at all :-)

Thank you anyway.  Or, rather, thank you for not restoring it till now, because I might not have been prompted by laziness to come up with a simpler solution otherwise. :-)

I do think it is over-engineered and that cv_set_call_checker_flags is a better solution.

BTW, have you seen what I am doing on the sprout/cvgv branch?  It is almost ready for merging, but not quite.  Maybe a few more days.  In any case, ‘sub foo{} foo() \&foo’ no longer has to create a *foo glob, saving memory.

-- 

Father Chrysostomos


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

Thread Previous | Thread Next


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