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


in reply to Re^2: Should chomping a constant always raise an error?
in thread Should chomping a constant always raise an error?

4. I could use Inline::C to use the svREADONLY macro.
Done for you, in 5.8.0 and higher: Internals::SvREADONLY($sv)