Skip Menu |

This queue is for tickets about the Symbol-Table CPAN distribution.

Report information
The Basics
Id: 16364
Status: new
Priority: 0/
Queue: Symbol-Table

People
Owner: Nobody in particular
Requestors: tylerm [...] activestate.com
Cc:
AdminCc:

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



Subject: Symbol::Table does not handle qr{} constructs properly.
Consider the example: our $number = qr{\A[0-9]+\Z}; -- you can pull this out of the SCALAR symbol table with Symbol::Table, but you can't put it back in, because the reference that exists in the table is not a SCALAR reference, but a REF reference instead. Symbol::Table should allow for REF references in SCALAR symbol tables... I'm not sure if there's other special cases that might need to be handled as well? Thanks, Tyler
Date: Fri, 9 Dec 2005 00:59:46 -0500 (EST)
Subject: Re: [cpan #16364] Symbol::Table does not handle qr{} constructs properly.
From: "Greg London" <email [...] greglondon.com>
To: bug-Symbol-Table [...] rt.cpan.org
RT-Send-Cc:
I'll take a look at it when I get some cycles. I don't think anyone is actually using it. but you never know... THanks for the report. Greg Show quoted text
> > This message about Symbol-Table was sent to you by guest <> via > rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=16364 > > > Consider the example: > > our $number = qr{\A[0-9]+\Z}; > > -- you can pull this out of the SCALAR symbol table with Symbol::Table, > but you can't put it back in, because the reference that exists in the > table is not a SCALAR reference, but a REF reference instead. > Symbol::Table should allow for REF references in SCALAR symbol tables... > I'm not sure if there's other special cases that might need to be handled > as well? > > Thanks, > Tyler >
-- Bounty Hunters: Metaphors for Fair IP laws http://www.greglondon.com/bountyhunters/