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.
perl v5.10.0 2008-01-03 Sendpage::PageQueue(3pm)
Check Out this Related Man Page
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.
perl v5.10.0 2008-01-03 Sendpage::Queue(3pm)
how do I map Page Down and Page up to ] and [ in my terminal using the .exrc file. Currently its not working and the use of ^F and ^B doesn't attract me at all. (0 Replies)
Hi there
I have a file eg
stuff
stuff
stuff
stuff
EOF
how do i grep out everything apart from the last line, is there an equivalent of tail -1 that instead of getting the last line, gets me everything but the last line so i can output it to a file
im sure this is really... (3 Replies)
Hi there.
I've been tasked with making a new design for our Unix systems :eek:
Now the question I have is;
How many LPARs can a p570 hold WITHOUT using a VIO Server.
Many Thanks
Kees (1 Reply)
Guy's
This is the Queue of the printer ...
>lpstat -pTOPPRINTER
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
TOPPRIN @TOPP DOWN
QUEUED ... (1 Reply)
Qspace ABC
Queue doCol: true
Queue order: fifo
Queue setCol: red
Queue order: fifo
Qspace XYZ
Queue getCol: true
Queue order: fifo
I need to append every line in this file with Qspace & Queue, so that final o/p shall look like this,
Qspace: ABC Queue: doCol
Qspace: ABC Queue: doCol... (2 Replies)
Hello everyone!
Im Andrew and i'm studying for LPI 1, 2
Does anybody knows where can i find good and actual stuff for practice? if it is posible for free :-\ maybe testking or stuff like that.
I want to take the first examn but im not sure if i have to study so much more.
It is true... (4 Replies)
Hi everyone,
i have a question about the Memory Management in AIX 6.1.
I have
- 128 GB RAM and
- 70 GB Page Space.
The application i am running on this machine is doing some operations in perl. These are done only once a day and uses both memory and paging space. My problem... (1 Reply)
Hi everyone !
I have a file wich look like this :
>Sis01
> Sis02
...
>Sis44
I want to separe each paragraphe in a different file, so I decide to use the "FOR" loop + sed.
for f in {01..44}
do (5 Replies)