Barbie

NAME

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

DESCRIPTION

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

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.

INTERFACE

Constructor

  • 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).

Methods

  • 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.

  • content

    Return the content of an journal entry.

  • raw

    For debugging purposes.

CAVEATS

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

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

SEE ALSO

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

WWW::UsePerl::Journal::Server

AUTHOR

  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

  Copyright (C) 2002-2004 Russell Matbouli.
  Copyright (C) 2005-2015 Barbie for Miss Barbell Productions.

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