Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027753]
[soonix]: can confirm: in the comment form, "preview" activates "create" button, in the new post form it doesn't.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-12-15 06:32 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (418 votes). Check out past polls.