NAME

LWP::UserAgent::Caching::Simple - The first 'hard thing' made easy --- simple

SYNOPSIS

use LWP::UserAgent::Caching::Simple;

my $ua = LWP::UserAgent::Caching::Simple->new;

my $resp = $ua->get( 'http://example.com/cached?' );

and maybe even something quick:

# use a built-in default User-Agent for quick one timers

use LWP::UserAgent::Caching::Simple qw(get_from_json);

my $hashref = get_from_json ( 'http://example.com/cached?' );

DESCRIPTION

This is a simplified version of LWP::UserAgent::Caching::Simple with sensible defaults and less options. For more control and more options, please use that module.