Skip Menu |

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

Report information
The Basics
Id: 128044
Status: rejected
Priority: 0/
Queue: Regexp-Grammars

People
Owner: Nobody in particular
Requestors: eiro [...] phear.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: conflicts with Function::Parameters ?
Date: Tue, 18 Dec 2018 08:51:55 +0100
To: bug-Regexp-Grammars [...] rt.cpan.org
From: Marc Chantreux <eiro [...] phear.org>
hello, when you do this: use Function::Parameters; use Regexp::Grammars; qr{ <grammar:Sympa::Scenario> }x; you get this Function::Parameters: internal error: $^H{'Function::Parameters/config'} not a hashref: HASH(0x56276feec8c0) at (eval 7) line 1. i'll have time to dig on it at the beginning of 2019 but someone can spot the error before that. regards marc
Subject: Re: [rt.cpan.org #128044] conflicts with Function::Parameters ?
Date: Tue, 18 Dec 2018 10:50:21 +0000
To: bug-Regexp-Grammars [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
This is a bug in the implementation of Function::Parameters. The hints hash (%^H) cannot be used to store hashrefs as values, so any implementation that relies on putting hashrefs in %^H is intrinsically broken. See "Implementation details" in the perlpragma manpage. See also my Lexical::Hints module for a clean work-around for this (annoying) limitation with %^H. Damian
Not a bug in this module
CC: eiro [...] phear.org
Subject: Re: [rt.cpan.org #128044] conflicts with Function::Parameters ?
Date: Wed, 19 Dec 2018 10:56:28 +0100
To: "damian [...] conway.org via RT" <bug-Regexp-Grammars [...] rt.cpan.org>
From: Marc Chantreux <eiro [...] phear.org>
hello Damian, thank you for such a detailed, helpful and documented reply. i'll let mauke know about it. regards marc