From 4113778512b941aa672cfc75ea55036abaf7cc3b Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 16 Jul 2011 13:20:29 -0600 Subject: [PATCH] basename: Change C<> to L<> --- lib/File/Basename.pm | 4 ++-- t/porting/known_pod_issues.dat | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/File/Basename.pm b/lib/File/Basename.pm index 486eba1..e6681d2 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.82"; +$VERSION = "2.83"; fileparse_set_fstype($^O); @@ -91,7 +91,7 @@ portion is removed and becomes the $suffix. # On Unix returns ("baz", "/foo/bar/", ".txt") fileparse("/foo/bar/baz.txt", qr/\.[^.]*/); -If type is non-Unix (see C) then the pattern +If type is non-Unix (see L) then the pattern matching for suffix removal is performed case-insensitively, since those systems are not case-sensitive when opening existing files. diff --git a/t/porting/known_pod_issues.dat b/t/porting/known_pod_issues.dat index 029c870..2a1d1bd 100644 --- a/t/porting/known_pod_issues.dat +++ b/t/porting/known_pod_issues.dat @@ -333,7 +333,6 @@ lib/english.pm Verbatim line length including indents exceeds 80 by 1 lib/exporter.pm Verbatim line length including indents exceeds 80 by 2 lib/extutils/embed.pm Verbatim line length including indents exceeds 80 by 2 lib/extutils/xssymset.pm Verbatim line length including indents exceeds 80 by 1 -lib/file/basename.pm ? Should you be using L<...> instead of 1 lib/file/basename.pm Verbatim line length including indents exceeds 80 by 2 lib/file/find.pm Verbatim line length including indents exceeds 80 by 1 lib/getopt/std.pm Verbatim line length including indents exceeds 80 by 1 -- 2.7.4