in reply to Is there a way to lock arrays?
It can be done with tied arrays. Just override the STORE() subroutine to do nothing, or throw an error. See perltie.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
|---|