Would it be simpler to just use a plugin wrapper? oldplugin could become:
sub init { my ($self, $qp, @args) = @_; $self->log(LOGINFO,"oldplugin is deprecated and has been folded into newplugin. The alias may be removed eventually." $self->isa_plugin("newplugin"); } The wording isn't quite right... but you get the idea. On Sun, Apr 29, 2012 at 12:52 AM, Matt Simerson <m...@tnpi.net> wrote: > > I really like the idea of a Plugin/Legacy.pm module, so that changes like > this can be made, and still preserve backwards compatibility. > > I've got my eyes on check_badrcptto and check_badrcptto_patterns as well. > > Thoughts? > > Matt > > On Apr 29, 2012, at 12:44 AM, Robert Spier wrote: > > > This change is not backward compatible. > > > > On Apr 29, 2012 12:40 AM, "GitHub" <nore...@github.com> wrote: > > > >> Branch: refs/heads/master > >> Home: https://github.com/smtpd/qpsmtpd > >> Commit: 368ce9401bab0570b692133a158df882ceac2431 > >> > >> > https://github.com/smtpd/qpsmtpd/commit/368ce9401bab0570b692133a158df882ceac2431 > >> Author: Matt Simerson <m...@tnpi.net> > >> Date: 2012-04-29 (Sun, 29 Apr 2012) > >> > >> Changed paths: > >> M plugins/check_badmailfrom > >> R plugins/check_badmailfrom_patterns > >> A t/plugin_tests/check_badmailfrom > >> > >> Log Message: > >> ----------- > >> merged check_badmailfrom_patterns into check_badmailfrom > >> > >> > >> > >> > >