Think about Loose Coupling | |
PerlMonks |
Re: Perl Naming Conventionsby halley (Prior) |
on Apr 28, 2003 at 19:15 UTC ( [id://253800]=note: print w/replies, xml ) | Need Help?? |
See (perldoc perlstyle): perlstyle.
For object attribute accessor methods like this, I prefer this idiom:
Thus, you can say $x = $o->value, or $o->value(5);. --
In Section
Seekers of Perl Wisdom
|
|