in reply to read only variable

The only thing that comes to mind is Tie::Hash. The Store method could be set to not do any thing or even call warn (or carp/cluck if you use Carp)