Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re: Re: Implementing a Mixin Class (please explain?)

by Seumas (Curate)
on Jun 01, 2004 at 01:35 UTC ( #357899=note: print w/replies, xml ) Need Help??

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.
  • Comment on Re: Re: Re: Implementing a Mixin Class (please explain?)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://357899]
[shmem]: go figure. Might help to open views to other ways of perceiving reality. No, no supernatural stuff.
[shmem]: the "Vineyard" is a biblic term, also. But that's not the point.
[erix]: sorry, my attention is a rar commodity. I will not squander it on such pro-russia sites :)
[erix]: *rare commodity
[shmem]: erix: you are utterly mistaken in marking that site as "pro-russian".
[erix]: how do you mean? the bear, explanations of Putin's "election", the fearsome new russian weaponry. I came across them immediately. Just coincidence?

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2018-03-19 21:03 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.