WWW::UsePerl::Journal::Entry - use.perl.org journal entry


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

Index


NAME

Top

WWW::UsePerl::Journal::Entry - use.perl.org journal entry

DESCRIPTION

Top

Do not use directly. See WWW::UsePerl::Journal for details of usage.

METHODS

Top

new

  use WWW::UsePerl::Journal::Entry;
  my $j = WWW::UsePerl::Journal::Entry->new(%hash);

Creates an instance for a specific entry. The hash must contain values for the keys 'j' (journal object), 'author' (entry author) and 'eid' (entry id).

stringify

  use WWW::UsePerl::Journal::Entry;
  my $j = WWW::UsePerl::Journal::Entry->new(%hash);
  print "$j";

Returns the content of the journal entry when the object is directly referenced in a string.

eid

Returns the entry id for the current journal entry.

The Accessors

The following accessor methods are available:

  date
  subject
  author
  uid
  content

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

raw

For debugging purposes.

CAVEATS

Top

Beware the stringification of WWW::UsePerl::Journal::Entry objects. They're still objects, they just happen to look the same as before when you're printing them. Use ->content instead.

The time on a journal entry is the localtime of the user that created the journal entry. If you aren't in the same timezone, that time will be wrong.

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

SEE ALSO

Top

WWW::UsePerl::Journal, http://use.perl.org/

AUTHOR

Top

  Original author: Russell Matbouli
  <www-useperl-journal-spam@russell.matbouli.org>,
  <http://russell.matbouli.org/>

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

COPYRIGHT AND LICENSE

Top


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