NAME
Queue::Leaky - Queues with leaky buckets
SYNOPSIS
use Queue::Leaky;
my $queue = Queue::Leaky->new;
$queue->inesrt( ... );
while ( 1 ) {
if ($queue->next) {
my $message = $queue->fetch;
}
}
$queue->clear;
DESCRIPTION
Queue::Leaky is employed as a traffic regulator.
AUTHOR
Taro Funaki <t@33rpm.jp>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.