Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Storable CPAN distribution.

Report information
The Basics
Id: 57010
Status: new
Priority: 0/
Queue: Storable

People
Owner: Nobody in particular
Requestors: wyant [...] cpan.org
Cc:
AdminCc:

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



Subject: Can't store Regexp under Perl 5.12.
Download (untitled) / with headers
text/plain 462b
The dclone (at least) method fails under Perl 5.12 when cloning a structure containing a regular expression. Under Perl 5.10.1: $ perl -MStorable=dclone -MYAML -e 'print Dump( dclone ( { foo => qr{bar} } ) )' --- foo: !!perl/regexp Regexp=SCALAR(0x813000) Under Perl 5.12.0: $ perl -MStorable=dclone -MYAML -e 'print Dump( dclone ( { foo => qr{bar} } ) )' Can't store REGEXP items at -e line 1. Regular expressions became first-class objects under Perl 5.12.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.