|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Mixing OO & non OO code in a moduleby hv (Parson) |
| on Jun 06, 2006 at 12:44 UTC ( #553800=note: print w/ replies, xml ) | Need Help?? |
|
I'd normally make such things class methods - if I don't, I find I'm always forgetting to type My::Class::function(...) instead of My::Class->function(...), and it becomes a lot more convenient if I have the classname in a variable:
Hugo
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||