LWP::Simple::WithCache - LWP::Simple with cache
use LWP::Simple; use LWP::Simple::WithCache; print get('http://www.example.com/');
LWP::Simple::WithCache reassign the $ua used by LWP::Simple to LWP::UserAgent::WithCache, and allow users to use the function provided by LWP::Simple with some cache functionality.
Users can access the cache object by using $LWP::Simple::ua->{cache} to get or set cache_root, namespace, etc.
LWP::Simple LWP::UserAgent::WithCache Cache::Cache Cache::FileCache
Yen-Ming Lee, <leeym@leeym.com>
Copyright (C) 2008 by Yen-Ming Lee
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install LWP::Simple::WithCache, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LWP::Simple::WithCache
CPAN shell
perl -MCPAN -e shell install LWP::Simple::WithCache
For more information on module installation, please visit the detailed CPAN module installation guide.