diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-01-08 22:02:26 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-01-08 22:02:26 +0000 |
commit | 40d020d967675a6decd375f53496ed3aa1c8be01 (patch) | |
tree | 2f46b4a818ef61c1710f4ee71d4c239e356cb7a3 /lib/File/Spec.pm | |
parent | 515afda2c0e436f3cb10a1bb091849572581d7a7 (diff) | |
download | perl-40d020d967675a6decd375f53496ed3aa1c8be01.tar.gz |
Fix the doc for splitpath() in the File::Spec modules :
this function doesn't return undef in any case.
p4raw-id: //depot/perl@18465
Diffstat (limited to 'lib/File/Spec.pm')
-rw-r--r-- | lib/File/Spec.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/File/Spec.pm b/lib/File/Spec.pm index d125b2f3c2..e8b40808ad 100644 --- a/lib/File/Spec.pm +++ b/lib/File/Spec.pm @@ -175,7 +175,7 @@ join is the same as catfile. =item splitpath Splits a path in to volume, directory, and filename portions. On systems -with no concept of volume, returns undef for volume. +with no concept of volume, returns '' for volume. ($volume,$directories,$file) = File::Spec->splitpath( $path ); ($volume,$directories,$file) = File::Spec->splitpath( $path, $no_file ); |