I don't really care if you don't want to use this kind of thing
You did ask, though.
is how big of an overhead does using tie really cause?
It's at least one more method call per operation, not to mention that it's likely the method is implemented in Perl, not C. There's some overhead there too.
cause? What are some of the risks of using 'local'?
You give up a modicum of encapsulation for the potential of scary action at a distance. The members of whichever object you're currently working with are globally accessible and modifiable. You might as well not bless hashes, in that case.
| [reply] |