> David Sparks wrote:
> > I wanted to add some kind of extended config support for plugins that
> > I'm writing that run at connect, mail from and rcpt to stages.  I hacked
> > in YAML support into lib/Qpsmtpd.pm (the diff is below but I'm not
> > submitting this as a patch ... at this point at least).
> 
> Robert, at least, has expressed a distinct lack of interest in adding
> YAML support to the core code.  As long as the "damage" is limited to
> your own plugins, though, I don't think it should be a problem.

Yes, I'd like to avoid putting a 'require YAML' in the main codebase.

But - David's message got me thinking - it is probably time to factor
out the config reading code from being a huge
if/elsif/elsif/elsif/elsif  tree into being classful.  Then people
could easily have add-on config plugins.

Reply via email to