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


WWW-UsePerl-Journal-Thread documentation  | view source Contained in the WWW-UsePerl-Journal-Thread distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  $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

Top

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

METHODS

Top

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

Top

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

Top

WWW::UsePerl::Journal, LWP

http://use.perl.org/

CREDITS

Top

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

AUTHOR

Top

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

COPYRIGHT AND LICENSE

Top


WWW-UsePerl-Journal-Thread documentation  | view source Contained in the WWW-UsePerl-Journal-Thread distribution.