print "1..4\n";
+my $tmpdir;
+my $file;
if (eval {require File::Spec::Functions}) {
File::Spec::Functions->import('tmpdir', 'catfile');
$tmpdir = tmpdir();
}
$file = catfile($tmpdir, "md$$");
1 while unlink $file, "$file.dir", "$file.pag";
+if ($^O eq 'VMS') {
+ 1 while unlink "${file}.sdbm_dir";
+}
tryout('Memoize::SDBM_File', $file, 1); # Test 1..4
1 while unlink $file, "$file.dir", "$file.pag";
+if ($^O eq 'VMS') {
+ 1 while unlink "${file}.sdbm_dir";
+}
sub tryout {
my ($tiepack, $file, $testno) = @_;