On Fri, Jun 05, 2009 at 04:51:56PM -0400, Joey Hess wrote: > Enrico Zini wrote: > > But then it does abort when trying to create a new wiki with the > > standard options: is it possible to do conditional inclusion in perl, > > and to handle gracefully the case when RPC::XML is not installed? > > The problem with conditional inclusion in this case is that > if blogspam does not communicate that RPC::XML failed > to load, it will silently accept all spams, which is also undesirable.
Would it be possible to query a module to see if it's got enough dependencies to be operative? In that case blogspam can tell ikiwiki --setup that it's disabled in this system, and ikiwiki --setup can then skip loading it. Ciao, Enrico -- GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>
signature.asc
Description: Digital signature