p4raw-id: //depot/perl@10966
}
if (eval {require File::Spec::Functions}) {
- File::Spec::Functions->import('tmpdir');
+ File::Spec::Functions->import(qw(catfile tmpdir));
$tmpdir = tmpdir();
} else {
*catfile = sub { join '/', @_ };
print "1..4\n";
if (eval {require File::Spec::Functions}) {
- File::Spec::Functions->import('tmpdir');
+ File::Spec::Functions->import(qw(catfile tmpdir));
$tmpdir = tmpdir();
} else {
*catfile = sub { join '/', @_ };