Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027753]
help
Chatterbox?
[Lady_Aleena]: I"m getting: Not a SCALAR reference at ../files/lib/Base/ Menu.pm line 114. which is weird because it should be a string.
[Lady_Aleena]: I love typos.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2017-04-27 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (506 votes). Check out past polls.