Scroll to navigation

Sendpage::Queue(3pm) User Contributed Perl Documentation Sendpage::Queue(3pm)

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

Copyright 2000 Kees Cook.

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

2021-01-08 perl v5.32.0