We don't bite newbies here... much | |
PerlMonks |
Re: Common sub as method or functionby perrin (Chancellor) |
on Aug 15, 2007 at 17:30 UTC ( [id://632804]=note: print w/replies, xml ) | Need Help?? |
You should make them methods. If the rest of the API is OO, you may want to subclass things someday, and making these OO as well would be important then. However, these sound like class methods to me, not object methods. You should call them with the class name, not the object reference:
In Section
Seekers of Perl Wisdom
|
|