Sendpage::Page.3pm

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

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