in reply to classic OO Perl: naming instance variables
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: classic OO Perl: naming instance variables
by j3 (Friar) on Apr 11, 2007 at 16:45 UTC |