Yen-Ming Lee (李彥明) > LWP-Simple-WithCache-0.03 > LWP::Simple::WithCache

Download:
LWP-Simple-WithCache-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.03   Source  

NAME ^

LWP::Simple::WithCache - LWP::Simple with cache

SYNOPSIS ^

  use LWP::Simple;
  use LWP::Simple::WithCache;

  print get('http://www.leeym.com/');

DESCRIPTION ^

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.

SEE ALSO ^

  LWP::Simple
  LWP::UserAgent::WithCache
  Cache::Cache
  Cache::FileCache

AUTHOR ^

Yen-Ming Lee, <leeym@leeym.com>

COPYRIGHT AND LICENSE ^

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.