[EMAIL PROTECTED] (Matt Sergeant) writes:

> On 18 Jun 2005, at 12:08, Peter Eisch wrote:

>> It should really just be:
>>
>>         while (!$bb->is_empty) {
>>             my $b = $bb->first;
>>             $b->read(my $newdata);
>>             $data .= $newdata;
>>             return $data if index($data, "\n") >= 0;
>>         }
>
> So we don't need to delete/remove the bucket at all? Sweet - that
> should be even faster :-)

I don't think it's correct though- how will $bb->is_empty ever be
false without something like $b->delete?  Hmm, maybe it's time to
start using Apache::Test for testing Apache::Qpsmtpd.

-- 
Joe Schaefer

Reply via email to