in reply to Re: Re: Implementing a Mixin Class (please explain?)
in thread Implementing a Mixin Class
Pretty brief description, but... from what I gather, it's nothing more than having a package that contains a bunch of methods that you allow to be exported and then having other classes import them?
I have a ::Util class I fill with a handful of methods that don't particularly belong anywhere and aren't worth having their own class which I then import into other packages. Is this what is considered a "mixin"?
Sorry if I come across a bit daft. Using Perl as a first exposure to OOP is brain-damaging.
I have a ::Util class I fill with a handful of methods that don't particularly belong anywhere and aren't worth having their own class which I then import into other packages. Is this what is considered a "mixin"?
Sorry if I come across a bit daft. Using Perl as a first exposure to OOP is brain-damaging.
In Section
Seekers of Perl Wisdom