Skip to content

Commit c4a4fc1

Browse files
committed
Some more s/directory/dirname/
1 parent 9131eb7 commit c4a4fc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

S32-setting-library/IO.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ Returns a string representation of the parent directory (usually C<"..">).
662662
class IO::Path is Cool { }
663663

664664
Holds a path of a file or directory. The path is generally divided
665-
into three parts, the I<volume>, I<directory> and I<base name>.
665+
into three parts, the I<volume>, I<dirname> and I<base name>.
666666

667667
On Windows, the volume is a drive letter like C<C:>, or a UNC network volume
668668
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<IO::Path> object
671671
represents, and the directory is the part of the path leading up to the
672672
basename.
673673

674-
path volume directory basename
674+
path volume dirname basename
675675
/usr/bin/gvim /usr/bin gvim
676676
/usr/bin/ /usr bin
677677
foo/bar.txt foo bar.txt
@@ -691,7 +691,7 @@ C<.IO> coercer:
691691
Of course, you can always call the C<.new> method as well:
692692

693693
my $io = IO::Path.new( $full-path );
694-
my $io = IO::Path.new( :$volume, :$directory, :$basename);
694+
my $io = IO::Path.new( :$volume, :$dirname, :$basename);
695695

696696
Whenever a new C<IO::Path> is created, an internal absolute and cleaned version
697697
of the specified path is stored, using the implicitely or explicitely

0 commit comments

Comments
 (0)