WWW::RobotRules::Memcache - Use memcached in conjunction with WWW::RobotRules
use WWW::RobotRules::Memcache; my @memcache_servers = ('localhost:11211', '192.168.100.3:11211'); my $rules = WWW::RobotRules::Memcache->new(@memcache_servers); my $ua = WWW::RobotUA->new('my-robot/1.0', 'me@foo.com', $rules); # Then just use $ua as usual $res = $ua->request($req);
This is a subclass of WWW::RobotRules that uses Cache::Memcache to implement persistent caching of robots.txt and host visit information.
When creating this object you must pass at least one memcache server.
Nick Gerakines, <nick at gerakines.net>
<nick at gerakines.net>
Please report any bugs or feature requests to bug-www-robotrules-cache at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-RobotRules-Cache. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-www-robotrules-cache at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc WWW::RobotRules::Cache
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WWW-RobotRules-Cache
CPAN Ratings
http://cpanratings.perl.org/d/WWW-RobotRules-Cache
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-RobotRules-Cache
Search CPAN
http://search.cpan.org/dist/WWW-RobotRules-Cache
Copyright 2006 Nick Gerakines, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::RobotRules::Memcache, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::RobotRules::Memcache
CPAN shell
perl -MCPAN -e shell install WWW::RobotRules::Memcache
For more information on module installation, please visit the detailed CPAN module installation guide.