Boldra has asked for the wisdom of the Perl Monks concerning the following question:
I'm migrating from perl 5.10 to perl 5.16, and I hit this: http://search.cpan.org/dist/perl-5.14.0-RC1/pod/perldelta.pod#Stringification_of_regexes_has_changed
Unfortunately the workaround described in the perldelta doc (using the regexp_pattern import from re) would be very messy to implement, because most of our stringification/instantiation goes through YAML::Dump and YAML::Load (or even YAML::XS::Load or YAML::Any::Load). I could overwrite YAML::Type::regexp::yaml_load, but I don't think that would work in YAML::XS.
Has anyone else encountered this/have any suggestions?
Many thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: YAML: regex stringification has changed (bless/overload)
by Anonymous Monk on Apr 09, 2013 at 12:12 UTC | |
by Anonymous Monk on Apr 09, 2013 at 13:19 UTC | |
by Boldra (Curate) on Apr 09, 2013 at 14:36 UTC |