http://qs321.pair.com?node_id=589646


in reply to Reliability of SvREADONLY

Reading a variable in perl can modify it. It can cause a conversion from a number to text, or vice-versa, which will be written. I don't know how SvREADONLY works, but I doubt it prevents this type of conversion. For the most part though, variables that you read in before forking will stay shared. I don't think SvREADONLY will affect this either way.