summaryrefslogtreecommitdiff
path: root/lib/File
diff options
context:
space:
mode:
Diffstat (limited to 'lib/File')
-rw-r--r--lib/File/Basename.pm2
-rw-r--r--lib/File/Spec/Mac.pm4
-rw-r--r--lib/File/Temp.pm2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/File/Basename.pm b/lib/File/Basename.pm
index c89c7527f9..837b753972 100644
--- a/lib/File/Basename.pm
+++ b/lib/File/Basename.pm
@@ -20,7 +20,7 @@ and suffix.
B<NOTE>: C<dirname()> and C<basename()> emulate the behaviours, and
quirks, of the shell and C functions of the same name. See each
-function's documention for details. If your concern is just parsing
+function's documentation for details. If your concern is just parsing
paths it is safer to use L<File::Spec>'s C<splitpath()> and
C<splitdir()> methods.
diff --git a/lib/File/Spec/Mac.pm b/lib/File/Spec/Mac.pm
index 81016b3090..8b51bd6c24 100644
--- a/lib/File/Spec/Mac.pm
+++ b/lib/File/Spec/Mac.pm
@@ -53,7 +53,7 @@ done in MacPerl's environment and helps to distinguish a file path from a
directory path.
B<IMPORTANT NOTE:> Beginning with version 1.3 of this module, the resulting
-path is relative by default and I<not> absolute. This descision was made due
+path is relative by default and I<not> absolute. This decision was made due
to portability reasons. Since C<File::Spec-E<gt>catdir()> returns relative paths
on all other operating systems, it will now also follow this convention on Mac
OS. Note that this may break some existing scripts.
@@ -272,7 +272,7 @@ by default, but can be forced to be absolute (but avoid this).
B<IMPORTANT NOTE:> Beginning with version 1.3 of this module, the
resulting path is relative by default and I<not> absolute. This
-descision was made due to portability reasons. Since
+decision was made due to portability reasons. Since
C<File::Spec-E<gt>catfile()> returns relative paths on all other
operating systems, it will now also follow this convention on Mac OS.
Note that this may break some existing scripts.
diff --git a/lib/File/Temp.pm b/lib/File/Temp.pm
index 1266f6cecf..2af7cde6a0 100644
--- a/lib/File/Temp.pm
+++ b/lib/File/Temp.pm
@@ -1863,7 +1863,7 @@ fields returned by stat() are compared).
Returns false if the stat information differs or if the link count is
greater than 1.
-On certain platofms, eg Windows, not all the fields returned by stat()
+On certain platforms, e.g. Windows, not all the fields returned by stat()
can be compared. For example, the C<dev> and C<rdev> fields seem to be
different in Windows. Also, it seems that the size of the file
returned by stat() does not always agree, with C<stat(FH)> being more