Bryar::Comment - Represents a comment on a blog post
$self->new(...); $self->content(); # Get (clean version of) content $self->epoch(); # Get epoch $self->timepiece(); # Get the date as a Time::Piece object $self->author(); # Get author $self->url(); # Get author URL $self->id # ID of blog document this is attached to
This encapsulates a comment on a particular blog posting. Inherits from Bryar::Document for convenience.
$self->new(%params)
Creates a new Bryar::Comment instance.
$self->content(); # Get content
Gets the value of the comment's content
$self->url(); # Get url
Gets a URL provided by the author.
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
some parts Copyright 2007 David Cantrell david@cantrell.org.uk
david@cantrell.org.uk
Bryar::Document
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.