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

Re: Perl 5.18 and Regexp::Grammars

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
August 11, 2013 01:32
Subject:
Re: Perl 5.18 and Regexp::Grammars
Message ID:
F0419DC1-F156-4ED2-86AA-8C602CCCBEB6@cpan.org
Damian Conway wrote:
> Of course, the right solution would be for R::G to set up a *lexical*
> pseudo-var in each scope where it's imported, but I'm not aware of
> any reliable way to do that...except by using source filters. :-(

If you don’t mind depending on an XS module:

Lexical::Var->import('$VAR_NAME' => \$My::Evil::Remapped::Variable);


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