Maybe I am being niave but, is there something wrong with MyClass::PRIVATE
Nothing beyond the extra 4 (for OUR::) or 5 (for MY::) characters that you have to type every time you call the method :-)
I fear I am too lazy to want to type those extra characters that often.
It also differs a little from the meaning of "private" in some other languages since you can easily get at the method from other classes if you ask for it explicitly - it's just in another package after all.
In reply to Re^4: Private method variations
by adrianh
in thread Private method variations
by adrianh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |