Bryar::Collector - Determine which documents to show
$self->collect(...); $self->collect_current(...);
This class is called upon to pick out the right number of the relevant blog documents, so that they can be shipped off to the renderer.
$self->collect
Return the right number of documents, based on the arguments passed in by the user.
$self->collect_current
Return the latest set of documents.
TODO: make this configurable as well, to return X number or all posts X units of time back.
This module is free software, and may be distributed under the same terms as Perl itself.
Copyright (C) 2003, Simon Cozens simon@kasei.com
simon@kasei.com
To install Bryar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bryar
CPAN shell
perl -MCPAN -e shell install Bryar
For more information on module installation, please visit the detailed CPAN module installation guide.