Barbie > WWW-UsePerl-Journal-Thread-0.14 > WWW::UsePerl::Journal::Comment

Download:
WWW-UsePerl-Journal-Thread-0.14.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.14   Source  

NAME ^

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

SYNOPSIS ^

  my $comment = WWW::UsePerl::Journal::Comment->new(
      # required
      j       => $journal,
      cid     => $commentid,
      eid     => $entryid,
      extract => $extract
  );

  $comment->subject();

  # called from WWW::UsePerl::Journal::Thread object
  $thread->comment( $cid )->content();

DESCRIPTION ^

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

PUBLIC INTERFACE ^

The Constructor

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.

Methods

stringify - For String Context

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

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 dependent upon their severity and my availability. 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 ^

http://use.perl.org/use.perl.org

WWW::UsePerl::Journal, WWW::UsePerl::Journal::Server

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-2012 Barbie for Miss Barbell Productions.

This module is free software; you can redistribute it and/or modify it under the Artistic Licence v2.

syntax highlighting: