Queue.pm(3) implements a simple directory-based file queue

SYNOPSIS


$queue=Sendpage::Queue->new($dir);
while ($queue->ready()) {
$filename=$queue->file();
$fh=$queue->getReadyFile();
if ($can_remove_file) {
$queue->fileToss();
}
else {
$queue->fileDone();
}
}
# open a new queue file
$fh=$queue->getNewFile();
# ... do things to the file handle here
# release the file
$queue->doneNewFile();

DESCRIPTION

This is a module for use in sendpage(1).

BUGS

Need to write more docs.

AUTHOR

Kees Cook <[email protected]>

COPYRIGHT

Copyright 2000 Kees Cook.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.