This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Integrate:
[perl5.git]
/
lib
/
File
/
Spec
/
Unix.pm
diff --git
a/lib/File/Spec/Unix.pm
b/lib/File/Spec/Unix.pm
index
fb8ee98
..
4d917a0
100644
(file)
--- a/
lib/File/Spec/Unix.pm
+++ b/
lib/File/Spec/Unix.pm
@@
-88,7
+88,7
@@
complete path ending with a filename
sub catfile {
my $self = shift;
- my $file =
File::Spec
->canonpath(pop @_);
+ my $file =
$self
->canonpath(pop @_);
return $file unless @_;
my $dir = $self->catdir(@_);
$dir .= "/" unless substr($dir,-1) eq "/";