Implements a simple directory-based file queue
$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();
This is a module for use in sendpage\|(1).
Need to write more docs.
Kees Cook <[email protected]>
perl\|(1), sendpage\|(1), Sendpage::KeesConf\|(3), Sendpage::KeesLog\|(3), Sendpage::Modem\|(3), Sendpage::PagingCentral\|(3), Sendpage::PageQueue\|(3), Sendpage::Page\|(3), Sendpage::Recipient\|(3)
Copyright 2000 Kees Cook.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.