LCC::Documents::queue - Documents accessible by a queue
use threads; use threads::shared; use threads::shared::queue; my $queue = threads::shared::queue->new( sub {} ); use LCC; $lcc = LCC->new( $queue, | {method => value} ); $lcc->Documents( 'queue', $queue, | {method => value} );
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.
There are no specific methods in this module. Also see the methods available in the LCC::Documents module.
Elizabeth Mattijsen, <liz@dijkmat.nl>.
Please report bugs to <perlbugs@dijkmat.nl>.
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.
http://lococa.sourceforge.net, the LCC.pm and the other LCC::xxx modules.
To install LCC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LCC
CPAN shell
perl -MCPAN -e shell install LCC
For more information on module installation, please visit the detailed CPAN module installation guide.