line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
64
|
|
3
|
|
|
|
|
|
|
package Mail::Audit::Util::Tempdir; |
4
|
|
|
|
|
|
|
{ |
5
|
|
|
|
|
|
|
$Mail::Audit::Util::Tempdir::VERSION = '2.228'; |
6
|
|
|
|
|
|
|
} |
7
|
|
|
|
|
|
|
require File::Tempdir; |
8
|
1
|
|
|
1
|
|
5
|
use parent 'File::Tempdir'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
9
|
|
|
|
|
|
|
# ABSTRACT: self-cleaning fork-respecting tempdirs |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new { |
12
|
1
|
|
|
1
|
1
|
3
|
my $class = shift; |
13
|
1
|
|
|
|
|
13
|
my $self = $class->SUPER::new(@_); |
14
|
1
|
|
|
|
|
713
|
$self->{'Mail::Audit'}{pid} = $$; |
15
|
1
|
|
|
|
|
4
|
return $self; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub DESTROY { |
19
|
1
|
50
|
|
1
|
|
612
|
return unless do { |
20
|
1
|
|
|
|
|
3
|
local $@; |
21
|
1
|
|
|
|
|
1
|
eval { $_[0]->{'Mail::Audit'}{pid} == $$ }; |
|
1
|
|
|
|
|
8
|
|
22
|
|
|
|
|
|
|
}; |
23
|
1
|
|
|
|
|
12
|
$_[0]->SUPER::DESTROY; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |