line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Squid::Purge; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
22963
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
5
|
1
|
|
|
1
|
|
787
|
use English; |
|
1
|
|
|
|
|
3818
|
|
|
1
|
|
|
|
|
4
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
444
|
use base qw(Class::Accessor); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
746
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
27257
|
use Data::Dumper; |
|
1
|
|
|
|
|
13020
|
|
|
1
|
|
|
|
|
211
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.1'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub new { |
14
|
0
|
|
|
0
|
1
|
|
my ($class, %args) = @_; |
15
|
0
|
|
0
|
|
|
|
my $type = $args{'type'} || 'HTTP'; |
16
|
0
|
|
|
|
|
|
my $newclass = $class.'::'.$type; |
17
|
0
|
|
|
|
|
|
eval "use $newclass"; |
18
|
0
|
0
|
|
|
|
|
$class = $EVAL_ERROR ? 'Net::Squid::Purge::HTTP' : $newclass; |
19
|
0
|
|
|
|
|
|
my $self = bless { %args }, $class; |
20
|
0
|
|
|
|
|
|
return $self; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
0
|
|
|
0
|
1
|
|
sub purge { return 0; } |
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
0
|
1
|
|
sub format_purge { return 0; } |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
__END__ |