Sendpag...ageQueue(3)
π¦ Sendpag...ageQueue(3) β the Perl-ific manual page, bestie edition
okay so real quick before we dive in: this is a User Contributed Perl Documentation page. that's the manual name, that's the vibe. and the page itself is Sendpag...ageQueue(3) β yes the title is literally truncated with dots, it's giving "my name got cut off in the group chat preview", iconic π
β¨ NAME β¨
PageQueue.pm β the module that extends the Queue module and gives it the Page module smarts. like it takes plain Queue and enrolls it in Page school. slay π
πΈ SYNOPSIS πΈ
here's the whole flow, bestie, copy it exactly:
$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);
so you loop while getPage($db) keeps handing you filehandles, you pullPageFromFile($db,$fh) into @stuff, you build a Sendpage::Page->new(@stuff), you mess with $page however you want, you writePage($page) it back, and then you absolutely must fileDone(). and if you're adding a brand new page instead? addPage($page) and it's giving you a $fh. done and dusted π
π DESCRIPTION π
this is a module for use in sendpage(1). that's the whole description. short and mysterious, main character energy honestly. π₯
π BUGS π
ngl, the original says it plainly and we're gonna say it plainly too: obviously, needs more docs. that's it. that's the bug. not me reading a bug report that's just "write more docs" π
π AUTHOR π
Kees Cook <kees@outflux.net> β the one, the only. π«Ά
π SEE ALSO π
go read these next, iykyk:
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. π
and that's the whole page, bestie β no cap, every flag-free, option-free, gloriously short line of it. this one came to you from perl v5.40.2, dated 2024-06-10, and the footer swears it's Sendpag...ageQueue(3) but we both know that name got truncated mid-sentence. anyway. mwah. π
β¨
π¦ where this page comes from
- alpine 3.22: sendpage-doc 1.0.3-r10 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms