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


LWP-Simple-WithCache documentation  | view source Contained in the LWP-Simple-WithCache distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

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

DESCRIPTION

Top

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

Top

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

AUTHOR

Top

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

COPYRIGHT AND LICENSE

Top


LWP-Simple-WithCache documentation  | view source Contained in the LWP-Simple-WithCache distribution.