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

Re: Perl 5.18 and Regexp::Grammars

Thread Previous | Thread Next
Father Chrysostomos
August 11, 2013 01:32
Re: Perl 5.18 and Regexp::Grammars
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About