Are you advocating that people should use
Internals::SvREADONLY in general production code?
Dave. | [reply] |
No, not exactly. I'm just noting that if someone found it useful to write a SomeApplication::ReferenceSection or whatever and found it useful to have things readonly, they might use a function to toggle the readonly flag on their variables.
| [reply] |
Only if they are willing to put up with possible breakage upon perl upgrade. And truly critical production code needs to be vetted anew for each perl upgrade anyway before going live.
| [reply] |