WWW::UsePerl::Journal - use.perl.org journal tool
use WWW::UsePerl::Journal; my $journal = WWW::UsePerl::Journal->new('russell') print $journal->entrytitled("Text::Echelon"); my @entries = $journal->entrytitles();
Can list journal entries for a user. Can display a specific journal entry. Can post into a journal.
use WWW::UsePerl::Journal; my $j = WWW::UsePerl::Journal->new('russell');
Creates an instance for the specified user.
Returns the username
Returns the user ID
Returns an array of the 30 most recently posted WWW::UsePerl::Journal::Entry objects
Returns a hash of WWW::UsePerl::Journal::Entry objects
Returns an array of the entry IDs
Returns an array of the entry titles
Returns the text of an entry, given an entry ID
Returns the text of an entry, given an entry title
Required before posting can occur, takes the password
Posts an entry into a journal, given a title and the text of the entry
$j->postentry({title => "My journal is great", text => "It really is"});
It should be available for download from http://russell.matbouli.org/code/www-useperl-journal/ or from CPAN
Russell Matbouli <www-useperl-journal-spam@russell.matbouli.org>
http://russell.matbouli.org/
Thanks to Iain Truskett, Richard Clamp, Simon Wilcox, Simon Wistow and Kate L Pugh for sending patches. 'jdavidb' also contributed two stats scripts.
Better error checking and test suite.
Comment retrieval.
Writing activities (modify, delete ...)
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.
Distributed under GPL v2. See COPYING included with this distibution.
http://use.perl.org/
LWP
To install WWW::UsePerl::Journal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::UsePerl::Journal
CPAN shell
perl -MCPAN -e shell install WWW::UsePerl::Journal
For more information on module installation, please visit the detailed CPAN module installation guide.