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