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
- 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.
BUGS & ENHANCEMENTS
No bugs reported as yet.
If you think you've found a bug, send details and patches (if you have one) to <modules@missbarbell.co.uk>.
If you have a suggestion for an enhancement, though I can't promise to implement it, please send details to <modules@missbarbell.co.uk>.
SEE ALSO
L<perl>,
L<WWW::UsePerl::Journal>
L<LWP>
F<http://use.perl.org/>
AUTHOR
Barbie, <barbie@cpan.org> for Miss Barbell Productions http://www.missbarbell.co.uk.
CREDITS
Russell Matbouli, for creating WWW::UsePerl::Journal in the first place and giving me the idea to extend it further.
COPYRIGHT AND LICENSE
Copyright (C) 2003 Barbie for Miss Barbell Productions
All Rights Reserved.
Distributed under GPL v2. See F<COPYING> included with this distibution.