http://qs321.pair.com?node_id=11121421


in reply to Re^3: How to access a variable inside subroutine?
in thread How to access a variable inside subroutine?

Generically speaking, "getters and setters" are any routine that you can (must ...) call to affect a value that you can't access directly – because it is inside of a closure or an object. In the general sense, they often have "side effects." For instance, calling a "color setter" actually causes the color of something to change, and also completely conceals the mechanics of how that actually happens.