NAME

WWW::UsePerl::Journal::Comment - Handles the retrieval of UsePerl journal entry comments.

SYNOPSIS

$comments{$1} = WWW::UsePerl::Journal::Comment->new(
    j       => $self,
    id      => $1,
    subject => $2,
    score   => $3,
    user    => $4,
    uid     => $5,
    date    => $6,
    tid     => $thread,
);

$comments{$1}->subject();

# called from WWW::UsePerl::Journal object
$self->comment($1)->content();

DESCRIPTION

A collection of routines to handle the retrieval of comments from a UsePerl (http://use.perl.org/) journal entry.

METHODS

stringify - For String Context

When an object is called directly, stringification occurs. Safer to use ->content instead.

new()

Each comment is retrieved as an object. Note that the parent object (from WWW::UsePerl::Journal), thread id and comment id are mandatory requirements to create the object.

The Accessors

The following accessor methods are available:

id
date
subject
user
uid
score
content

All functions can be called to return the current value of the associated object variable.

SUPPORT

There are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties that are not explained within the POD documentation, please submit a bug to the RT system (see link below). However, it would help greatly if you are able to pinpoint problems or even supply a patch.

Fixes are dependant upon their severity and my availablity. Should a fix not be forthcoming, please feel free to (politely) remind me by sending an email to barbie@cpan.org .

RT: http://rt.cpan.org/Public/Dist/Display.html?Name=WWW-UsePerl-Journal-Thread

SEE ALSO

WWW::UsePerl::Journal, LWP

http://use.perl.org/

CREDITS

Russell Matbouli, for creating WWW::UsePerl::Journal in the first place and giving me the idea to extend it further.

AUTHOR

Barbie, <barbie@cpan.org>
for Miss Barbell Productions <http://www.missbarbell.co.uk>.

COPYRIGHT AND LICENSE

Copyright (C) 2003-2007 Barbie for Miss Barbell Productions.

This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

The full text of the licenses can be found in the Artistic and COPYING files included with this module, or in perlartistic and perlgpl in Perl 5.8.1 or later.