Damian's Object Oriented Perl recommends prefixing attribute names with the name of the class (Chapter 6, p. 188-189), as you describe. He also discusses Tie::SecureHash as another way to solve this problem (Chapter 11, starting on p. 311).
In reply to Re: classic OO Perl: naming instance variables
by bobf
in thread classic OO Perl: naming instance variables
by j3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |