Hi,
  I've been hacking some plugins recently. Specifically; check_spamhelo,
rhsbl & require_resolvable_fromhost; to perform stricter rfc2821 checks
and to also perform their dns lookups in the background. I'll release
these soon.
  I really have little experience of programming in this style. It's
relatively simple to work out how to write the plugins, but I'd have no
chance of writing any of the core.
  Something I noticed from other's plugins was the systems they used to
pass information between different handlers. I've used both in mine, but
wondered about the relative merits of the two different schemes of the two
I've seen.
  They are using variables of the form $self->{_global} and also using
$self->qp->connection->notes('global', $value), etc. It seems the former
which is basically a hash would be more efficient? If so, why does the
latter exist? Also, when using the former do the hash names have to be
unique between plugins? I'm still unclear on all this, as you can tell :(
Any thoughts would be appreciated.
  Cheers.

-- 
Mark Powell - UNIX System Administrator - The University of Salford
Information Services Division, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 4837  Fax: +44 161 295 5888  www.pgp.com for PGP key

Reply via email to