I'm puzzling over my own HTML::TreeBuilder inheritance conundrum, so this question interests me, but I suspect that I don't quite follow, because my naïve inclination would be to pass the class of the Stone to the StoneGatherer's constructor.
my $g = Gatherer->new('Stone::Red');
P.S. As an aside, there are examples of abusing Exporter out there, such as with Test::More:
use Test::More tests => 42;Any other examples out there? ;)
SOAP::Lite seems to go pretty heavy on the ol' import.
the lowliest monk
In reply to Re: Abusing Exporter for Conditional Inheritance
by tlm
in thread Abusing Exporter for Conditional Inheritance
by mojotoad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |