Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: YAML: regex stringification has changed (bless/overload not YAML::XS)

by Boldra (Deacon)
on Apr 09, 2013 at 14:36 UTC ( #1027753=note: print w/ replies, xml ) Need Help??


in reply to Re^2: YAML: regex stringification has changed (bless/overload not YAML::XS)
in thread YAML: regex stringification has changed

Thanks for checking that avenue. I was pretty sure YAML::XS was going to be a problem. I think it's going to be easiest for me to start saving regexes as strings instead of perl objects. I will also have to delete any regexes I accidentally load from old data, because if I read/write them a few times, they eventually become unparsable. The bug hit when

match: !!perl/regexp (?i-xsm:OK\ Server\ Connection\ 1\.001)
became something like
match: !!perl/regexp (?-u(?-u(?-u(?i-xsm:OK\ Server\ Connection\ 1 +\.001))))


- Boldra


Comment on Re^3: YAML: regex stringification has changed (bless/overload not YAML::XS)
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027753]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-07-12 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (239 votes), past polls