develooper Front page | perl.perl5.porters | Postings from August 2013

Re: [perl #119455] [EXPERIMENT] pluggable keyword API

Thread Previous | Thread Next
Jesse Luehrs
August 28, 2013 21:17
Re: [perl #119455] [EXPERIMENT] pluggable keyword API
Message ID:
On Wed, Aug 28, 2013 at 02:14:14PM -0700, Father Chrysostomos via RT wrote:
> On Wed Aug 28 12:53:28 2013, wrote:
> > 2) Function::Parameters is a lexical pragma. Does D:CP provide lexical
> > exports? I don't see how to get the effect of lexically scoped keywords
> > with plain subs.
> You can use Lexical::Var for that.  Or use Perl’s own lexical sub
> feature.  See <>.

This actually doesn't work yet, because prototypes aren't parsed on
lexical subs (and Devel::CallParser hooks into the prototype parsing
mechanism). I think this was reported somewhere, but I can't remember
where at the moment.


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