man Sendpage::Page () - encapsulates the data of an actual page

NAME

Sendpage::Page - encapsulates the data of an actual page

SYNOPSIS

This module gets used in sendpage(1).

DESCRIPTION

    $page=Sendpage::Page->new(\@recipients, \$text, \%options);

    $data=$page->dump();        # storable dump of page data

    if ($page->deliverable()) {
        for ($page->reset(), $page->next();
             $recip=$page->recip();
             $page->next()) {
                $text=$page->text();    # get text of page
                $page->drop_recip();    # discard current recipient
        }
        $page->attempts(1);
    }
    $anyone_left=$page->has_recips();
    $attempts=$page->attempts();

    $page->option('from',"someone else"); # set option named 'from'
    $from=$page->option('from');          # get option named 'from'

    $page->option('from',$from,1); # delete option named 'from'

BUGS

This needs more docs.

AUTHOR

Kees Cook <cook@cpoint.net>

SEE ALSO

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.