Scroll to navigation

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

NAME

PageQueue.pm - extends the Queue module, adding the Page module smarts

SYNOPSIS

    $pqueue=Sendpage::PageQueue($config);
    # read waiting pages
    while ($fh=$pqueue->getPage($db)) {
        # build up $page
        @stuff=$pqueue->pullPageFromFile($db,$fh);
        $page=Sendpage::Page->new(@stuff);
        # do something to change $page
        # write changes back to queue
        $pqueue->writePage($page);
        $pqueue->fileDone();
    }
    # add a new page
    $fh=$pqueue->addPage($page);

DESCRIPTION

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

BUGS

Obviously, needs 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::Page(3), Sendpage::Recipient(3), Sendpage::Queue(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