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
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56a9b6b
)
File::Spec::Win32: fix splitdir() example
author
Tony Cook
<tony@develop-help.com>
Thu, 13 Apr 2023 04:46:14 +0000
(14:46 +1000)
committer
Tony Cook
<tony@develop-help.com>
Tue, 25 Jul 2023 05:57:57 +0000
(15:57 +1000)
Fixes #20758
dist/PathTools/lib/File/Spec/Win32.pm
patch
|
blob
|
blame
|
history
diff --git
a/dist/PathTools/lib/File/Spec/Win32.pm
b/dist/PathTools/lib/File/Spec/Win32.pm
index
292c2f8
..
9a4980c
100644
(file)
--- a/
dist/PathTools/lib/File/Spec/Win32.pm
+++ b/
dist/PathTools/lib/File/Spec/Win32.pm
@@
-249,7
+249,7
@@
Unlike just splitting the directories on the separator, leading empty and
trailing directory entries can be returned, because these are significant
on some OSs. So,
- File::Spec->splitdir( "/a/b/
c
" );
+ File::Spec->splitdir( "/a/b/
/c/
" );
Yields: