File Coverage

blib/lib/LWP/Simple/WithCache.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package LWP::Simple::WithCache;
2              
3 4     4   287101 use strict;
  4         28  
  4         121  
4 4     4   1361 use LWP::Simple;
  4         214495  
  4         32  
5 4     4   3369 use LWP::UserAgent::WithCache;
  4         183766  
  4         429  
6             our $VERSION = 0.04;
7              
8             $LWP::Simple::ua = new LWP::UserAgent::WithCache;
9             $LWP::Simple::ua->agent("LWP::Simple::WithCache/$VERSION");
10             $LWP::Simple::FULL_LWP = 1;
11              
12             1;
13              
14             __END__