in reply to Re: Re: Re: OOP - Sharing class methods
in thread OOP - Sharing class methods
Since we're doing OO and therefore concerned about inheritance and such, the utility class should be an actual class and use class methods:
package Foo; use UtilityClass; sub bubbles { ...class-specific stuff... UtilityClass->buttercup(); ...class-specific stuff... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: OOP - Sharing class methods
by pdcawley (Hermit) on Aug 15, 2002 at 21:41 UTC | |
by perrin (Chancellor) on Aug 15, 2002 at 22:11 UTC | |
by pdcawley (Hermit) on Aug 16, 2002 at 09:38 UTC |