Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 having an uproarious good time at the Monastery: (15)
As of 2015-07-29 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (265 votes), past polls