in reply to using local and pass by reference method
Seeing local is a flag, it says something about what you are doing, and that something is not supposed to be effective, but conseptually rather to temporarily alter a global/wider scope resource, with a promise to restore it when you go out of scope and without affecting others using it elsewhere.
hth
|
|---|