Fortune::WWW::Postillion - Get fortune cookies from http://www.der-postillion.com!
Fortune::WWW::Postillion gives you fortune cookies from the newsticker archive of the webside http://www.der-postillion.com.
http://www.der-postillion.com
use Fortune::WWW::Postillion; my $random_cookie = cookie(); my $third_cookie = cookie(3);
Get a new fortune cookie. You can either request a random cookie or give a number n and the module will try to return the nth element of the cookie list. The number is used modulo the number of elements in the cookie jar. So if you ask for the 5th cookie in a 4 element jar, you will get the first one.
@param int - number of element in news list
@return success - string @return error - exception
@throws die()
Maik Hentsche, <Caldrin at cpan dot org>
<Caldrin at cpan dot org>
Please report any bugs or feature requests to bug-fortune-www-postillion at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Fortune-WWW-Postillion. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-fortune-www-postillion at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Fortune::WWW::Postillion
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Fortune-WWW-Postillion
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Fortune-WWW-Postillion
CPAN Ratings
http://cpanratings.perl.org/d/Fortune-WWW-Postillion
Search CPAN
http://search.cpan.org/dist/Fortune-WWW-Postillion/
Copyright 2012 Maik Hentsche.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Fortune::WWW::Postillion, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Fortune::WWW::Postillion
CPAN shell
perl -MCPAN -e shell install Fortune::WWW::Postillion
For more information on module installation, please visit the detailed CPAN module installation guide.