In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/d066ad0f7923df77c196bc64360843fa02f2aef1?hp=c65895fd5522f4f86bf15255ed3d9f701cde751d>
- Log ----------------------------------------------------------------- commit d066ad0f7923df77c196bc64360843fa02f2aef1 Author: Father Chrysostomos <[email protected]> Date: Fri Mar 11 13:22:43 2011 -0800 [perl #85884] Erroneous description of File::Basename::fileparse Literal backslashes need single quotes. ----------------------------------------------------------------------- Summary of changes: lib/File/Basename.pm | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/File/Basename.pm b/lib/File/Basename.pm index 696b601..f928e32 100644 --- a/lib/File/Basename.pm +++ b/lib/File/Basename.pm @@ -54,7 +54,7 @@ our(@ISA, @EXPORT, $VERSION, $Fileparse_fstype, $Fileparse_igncase); require Exporter; @ISA = qw(Exporter); @EXPORT = qw(fileparse fileparse_set_fstype basename dirname); -$VERSION = "2.80"; +$VERSION = "2.81"; fileparse_set_fstype($^O); @@ -78,8 +78,8 @@ The remainder of the $path is the $filename. # On Unix returns ("baz", "/foo/bar/", "") fileparse("/foo/bar/baz"); - # On Windows returns ("baz", "C:\foo\bar\", "") - fileparse("C:\foo\bar\baz"); + # On Windows returns ("baz", 'C:\foo\bar\', "") + fileparse('C:\foo\bar\baz'); # On Unix returns ("", "/foo/bar/baz/", "") fileparse("/foo/bar/baz/"); -- Perl5 Master Repository
