From c4a4fc1d0771ad40b5c125d251b4c97601450b68 Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Mon, 29 Sep 2014 17:08:28 +0200 Subject: [PATCH] Some more s/directory/dirname/ --- S32-setting-library/IO.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/S32-setting-library/IO.pod b/S32-setting-library/IO.pod index e082ba9f8..2fecb071e 100644 --- a/S32-setting-library/IO.pod +++ b/S32-setting-library/IO.pod @@ -662,7 +662,7 @@ Returns a string representation of the parent directory (usually C<"..">). class IO::Path is Cool { } Holds a path of a file or directory. The path is generally divided -into three parts, the I, I and I. +into three parts, the I, I and I. On Windows, the volume is a drive letter like C, or a UNC network volume like C<\\share\>. On UNIX-based systems, the volume part is empty. @@ -671,7 +671,7 @@ The basename is name of the file or directory that the C object represents, and the directory is the part of the path leading up to the basename. - path volume directory basename + path volume dirname basename /usr/bin/gvim /usr/bin gvim /usr/bin/ /usr bin foo/bar.txt foo bar.txt @@ -691,7 +691,7 @@ C<.IO> coercer: Of course, you can always call the C<.new> method as well: my $io = IO::Path.new( $full-path ); - my $io = IO::Path.new( :$volume, :$directory, :$basename); + my $io = IO::Path.new( :$volume, :$dirname, :$basename); Whenever a new C is created, an internal absolute and cleaned version of the specified path is stored, using the implicitely or explicitely