David Cantrell > Bryar-3.1 > Bryar::Comment

Download:
Bryar-3.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  3
View/Report Bugs
Module Version: 1.1   Source   Latest Release: Bryar-4.0

NAME ^

Bryar::Comment - Represents a comment on a blog post

SYNOPSIS ^

        $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

DESCRIPTION ^

This encapsulates a comment on a particular blog posting. Inherits from Bryar::Document for convenience.

METHODS ^

new

    $self->new(%params)

Creates a new Bryar::Comment instance.

content

        $self->content();    # Get content

Gets the value of the comment's content

url

        $self->url();    # Get url

Gets a URL provided by the author.

LICENSE ^

This module is free software, and may be distributed under the same terms as Perl itself.

AUTHOR ^

Copyright (C) 2003, Simon Cozens simon@kasei.com

some parts Copyright 2007 David Cantrell david@cantrell.org.uk

SEE ALSO ^

Bryar::Document

syntax highlighting: