Why dont you look into using Moose to ease your OOP efforts?
Also, methods dont "normally" return anything as much as they populate a slot in the object.
In reply to Re: Factoring out common code in two methods of a class
by metaperl
in thread Factoring out common code in two methods of a class
by jvector
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |