use strict;
use warnings;
-use Cwd qw/abs_path/;
-use File::Temp qw/tempfile/;
-use File::Spec::Functions qw/curdir catfile/;
-use POSIX qw/WIFEXITED WEXITSTATUS WIFSIGNALED WTERMSIG/;
+use Cwd qw/abs_path/;
+use File::Temp qw/tempfile/;
+use File::Spec (); # curdir, catfile
+use POSIX qw/WIFEXITED WEXITSTATUS WIFSIGNALED WTERMSIG/;
BEGIN {
no warnings 'redefine';
'version',
);
- my $git = catfile(curdir, qw/t bin git/);
+ my $git = File::Spec->catfile(File::Spec->curdir, qw/t bin git/);
if ($^O eq 'MSWin32') {
unless (-x $git) {
$git .= '.bat';