NAME
WWW::Reddit - interface with reddit.com
VERSION
Version 0.01
SYNOPSIS
use WWW::Reddit;
my $r = WWW::Reddit->new( username => $username,
password => $password );
$r->post( url => 'http://www.example.com',
title => 'The new and wonderful example website' );
METHODS
new
used for instantiation.
my $r = WWW::Reddit->new( username => $username,
password => $password );
required arguments:
username - your reddit.com username
password - your reddit.com password
post
add a URL to reddit.com
$r->post( url => 'http://www.example.com'
title => 'The new and wonderful example website' );
required parameters:
url - the address of the url that you'd like to post
title - the title that you would like to have appear on reddit.
details
fetch the details for a reddit submission
takes no paramters, uses the id already in the object.
returns a hashref that looks like:
{
'submitted' => '29 Nov 2007',
'points' => '2',
'upvotes' => '17',
'downvotes' => '15'
};
AUTHOR
Andrew Moore, <amoore at cpan.org>
BUGS
Please report any bugs or feature requests to bug-www-reddit at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Reddit. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc WWW::Reddit
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2007 Andrew Moore, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.