Skip Menu |

This queue is for tickets about the Regexp-Grammars CPAN distribution.

Report information
The Basics
Id: 106803
Status: resolved
Priority: 0/
Queue: Regexp-Grammars

People
Owner: Nobody in particular
Requestors: alexchandel [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 1.020
  • 1.021
  • 1.025
  • 1.026
  • 1.027
  • 1.028
  • 1.029
  • 1.030
  • 1.031
  • 1.032
  • 1.033
  • 1.034
  • 1.035
  • 1.036
  • 1.038
  • 1.039
  • 1.040
  • 1.041
Fixed in: (no value)



Subject: Broken/abandoned dependency in Lexical::Var
The dependency Lexical::Var is broken in all versions of perl newer than 5.21.7, and from the looks of [this bug](https://rt.cpan.org/Public/Bug/Display.html?id=101058) it will never be fixed; it appears the maintainer has abandoned the project, and it is remotely possible that he, zefram/Andrew Main, is the same Andrew Main who was detained indefinitely under the UK mental health act in May 2015. This means Regexp-Grammars doesn't build on any perl newer than 5.21.7, and probably never will unless zefram's Lexical::Var is dropped as a dependency.
Subject: Re: [rt.cpan.org #106803] Broken/abandoned dependency in Lexical::Var
Date: Tue, 1 Sep 2015 21:18:37 +1000
To: bug-Regexp-Grammars [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Show quoted text
> This means Regexp-Grammars doesn't build on any perl newer than > 5.21.7, and probably never will unless zefram's Lexical::Var is > dropped as a dependency.
That is not feasible, as changes in regex parsing in 5.18 invalidated the fundamental Regex::Grammars API, unless the module exports the necessary lexical variables. I will investigate using some other mechanism to achieve the same effect (possibly Exporter::LexicalVars, or source code filters <shudder!>) and upload a new release when I find an appropriate and supported solution. Thanks for the report, Damian
This issue is now resolved by converting to using B::Hooks::Parser::inject instead of Lexical::Var::import.