in reply to There is a way to LOCK a SCALAR?

This is real easy to do.

But seriously...in Perl, these things are best handled as a matter programming policy, not language mechanics.