Well you're seriously wasting overhead programming in OO if you directly access the vars. As Damian Conway say's
Thou shalt not access thy encapsulated data directly lest thou screwe it up.1
By allowing yourself to take advantage of the casual nature of perl OO, you open yourself up to the problems that OO design seeks to avoid
In reply to Re: Generally accepted style in Perl objects
by coreolyn
in thread Generally accepted style in Perl objects
by Hot Pastrami
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |