Sendpage::Queue.3pm

Langue: en

Version: 2008-01-03 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Queue.pm - 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 <kees@outflux.net>

SEE ALSO

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.