Re: [siesta-dev] couple of questions

[prev] [thread] [next] [lurker] [Date index for 2004/04/04]

From: Jody Belka
Subject: Re: [siesta-dev] couple of questions
Date: 14:33 on 04 Apr 2004
On Tue, Nov 18, 2003 at 03:58:12PM +0000, Richard Clamp wrote:
> > On a seperate note, I've replaced the 'queues' sub in my Lists.pm with the
> > following:
> > 
> > sub queues {
> >     my $self = shift;
> >     my %queues = map { $_->queue => undef } $self->_plugins;
> >     return sort keys %queues;
> > }
> > 
> > which seems to be DTRT. is this a sensible change or am i misunderstanding
> > something?
> 
> Well apart from the mass ugliness, and the hell it'll play with any
> ::Integration code where the queue could be malformed for the mta it
> looks like it would run.  Is that your question?

Ok, yes, this /is/ rather a long time after the fact *g*. Was a bit otherwise
occupied at the time.

My point, was that the existing code means that you can use queues other than
post, sub and unsub, but that other than by directly querying the database you
can't find out what, if any, queues other than post/sub/unsub are in use, as the
code that returns the list of queue names for a list is currently hard-coded to
only return post, sub and unsub. Makes life a bit, err, interesting.

-- 
Jody
knew (at) pimb (dot) org
There's stuff above here

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52