WWW::XKCD::AsText - retrieve text versions of comics on www.xkcd.com
use WWW::XKCD::AsText; my $xkcd = WWW::XKCD::AsText->new; my $xkcd_retrieve = $xkcd->retrieve(1); # "A boy sits in a barrel..." $xkcd_retrieve->uri; # "https://www.xkcd.com/1/" $xkcd_retrieve->text; # "A boy sits in a barrel..." $xkcd_retrieve->error; # line_status
Takes XKCD comic number, returns its transcript.
WWW::xkcd
Original author is Zoffix Znet, <zoffix at cpan.org>,
<zoffix at cpan.org>
currently maintained by Kivanc Yazan, <kyzn at cpan.org>.
<kyzn at cpan.org>
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WWW::XKCD::AsText, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::XKCD::AsText
CPAN shell
perl -MCPAN -e shell install WWW::XKCD::AsText
For more information on module installation, please visit the detailed CPAN module installation guide.