On 7 Sep 2004, at 06:19, Robert Spier wrote:
it might make more sense to just use inheritance. (Matt/Ask, feelings?)
Then we can do things like:
@ISA = (@ISA,$parent_plugin);
I was thinking about this the other day. It would be a simple matter of having a function that plugins can call:
isa_plugin('pluginname');Which you can just put somewhere in your plugin file. And yes, I think the symbol table munging is horrid and should be done using inheritance, assuming you can achieve everything you need with it.
Also, there's a whole raft of stuff in Qpsmtpd.pm that should really be in Plugin.pm, so I think I may clean house a bit this week.
Matt.
