jcupp has asked for the wisdom of the Perl Monks concerning the following question:
1) using Exporter: seems real clean with tags 2) *sub1 = \&OtherMod::sub1 for all mixins 3) subclassing and re-blessing the reference
Basically, I want to turn groups of methods on/off, but share the same data in the blessed reference, what else is there?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Best way to do Mixin Class
by ariels (Curate) on Apr 06, 2002 at 11:46 UTC | |
by jcupp (Acolyte) on Apr 06, 2002 at 21:19 UTC | |
by ariels (Curate) on Apr 07, 2002 at 04:15 UTC | |
Re: Best way to do Mixin Class
by jcupp (Acolyte) on Apr 06, 2002 at 03:11 UTC | |
Re: Best way to do Mixin Class
by dws (Chancellor) on Apr 07, 2002 at 00:02 UTC | |
by jcupp (Acolyte) on Apr 16, 2002 at 07:04 UTC |