From 555bd962bf06d749086724e280b3588586df7805 Mon Sep 17 00:00:00 2001 From: Brian Gottreu Date: Sun, 16 Jun 2013 13:37:33 -0500 Subject: Fixed verbatim lines in POD over 79 characters --- lib/File/Basename.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/File') diff --git a/lib/File/Basename.pm b/lib/File/Basename.pm index ad98d24d19..4783192035 100644 --- a/lib/File/Basename.pm +++ b/lib/File/Basename.pm @@ -64,14 +64,14 @@ fileparse_set_fstype($^O); =item C X - my($filename, $directories, $suffix) = fileparse($path); - my($filename, $directories, $suffix) = fileparse($path, @suffixes); - my $filename = fileparse($path, @suffixes); + my($filename, $dirs, $suffix) = fileparse($path); + my($filename, $dirs, $suffix) = fileparse($path, @suffixes); + my $filename = fileparse($path, @suffixes); -The C routine divides a file path into its $directories, $filename +The C routine divides a file path into its $dirs, $filename and (optionally) the filename $suffix. -$directories contains everything up to and including the last +$dirs contains everything up to and including the last directory separator in the $path including the volume (if applicable). The remainder of the $path is the $filename. @@ -95,7 +95,7 @@ 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. -You are guaranteed that C<$directories . $filename . $suffix> will +You are guaranteed that C<$dirs . $filename . $suffix> will denote the same location as the original $path. =cut @@ -250,10 +250,10 @@ C. Only on VMS (where there is no ambiguity between the file and directory portions of a path) and AmigaOS (possibly due to an implementation quirk in this module) does C work like C, returning just the -$directories. +$dirs. # On VMS and AmigaOS - my $directories = dirname($path); + my $dirs = dirname($path); When using Unix or MSDOS syntax this emulates the C shell function which is subtly different from how C works. It returns all but -- cgit v1.2.1