NAME
LCC::Documents::queue - Documents accessible by a queue
SYNOPSIS
use
threads;
use
threads::shared;
my
$queue
= threads::shared::queue->new(
sub
{} );
use
LCC;
$lcc
= LCC->new(
$queue
, | {
method
=> value} );
$lcc
->Documents(
'queue'
,
$queue
, | {
method
=> value} );
DESCRIPTION
The Documents object of the Perl support for LCC that should be used when update information for documents can be obtained by a Perl 5.8.X and higher queue (threads::shared::queue). Do not create directly, but through the Documents method of the LCC object.
The queue is supposed to contain references to a list with the following elements:
1 id of the
next
document
2 mtime of the
next
document
3 (optional)
length
of the
next
document
4 (optional) md5 of the
next
document
5 (optional) mimetype of the
next
document
6 (optional) subtype of the
next
document
The queue should be terminated by an undefined value.
METHODS
There are no specific methods in this module. Also see the methods available in the LCC::Documents module.
AUTHOR
Elizabeth Mattijsen, <liz@dijkmat.nl>.
Please report bugs to <perlbugs@dijkmat.nl>.
COPYRIGHT
Copyright (c) 2002 Elizabeth Mattijsen <liz@dijkmat.nl>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
http://lococa.sourceforge.net, the LCC.pm and the other LCC::xxx modules.