Craig A. Berry [Sat, 2 Jun 2007 17:47:37 +0000 (17:47 +0000)]
may be directory files, which is ok).
p4raw-id: //depot/perl@31327
else {
my $updir = File::Spec->updir();
my $curdir = File::Spec->curdir();
- @files = map(File::Spec->catdir($root,$_),
+ @files = map(File::Spec->catfile($root,$_),
grep {$_ ne $updir and $_ ne $curdir}
@files
);