blob: 32f6f2b59d667fa190ff15b082de4add58e8b4d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package Module::P5Z;
use 5.005;
use strict;
use File::pushd ();
use Archive::Tar ();
use vars qw{$VERSION};
BEGIN {
$VERSION = '1.16';
}
#####################################################################
# Constructor
sub read {
my $class = shift;
my $self = bless { @_ }, $class;
# Apply defaults
$self->{tempd} ||= File::pushd::tempd();
$self;
}
sub tempd {
$_[0]->{tempd};
}
1;
|