|Don't ask to ask, just ask|
YAML: regex stringification has changedby Boldra (Deacon)
|on Apr 09, 2013 at 11:52 UTC||Need Help??|
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?