summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-02-17 16:50:34 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-02-17 16:50:34 +0000
commitb05aa76e7ed438ed81ab248bdead73503c5a1baf (patch)
treeab7e96b809a91b129e20e512adf3aaa9e51dc177 /pod
parent4070490960e010b44ed51cc8a0a980a36d5fc522 (diff)
downloadperl-b05aa76e7ed438ed81ab248bdead73503c5a1baf.tar.gz
More filename portability tips.
p4raw-id: //depot/perl@14730
Diffstat (limited to 'pod')
-rw-r--r--pod/perlport.pod10
1 files changed, 8 insertions, 2 deletions
diff --git a/pod/perlport.pod b/pod/perlport.pod
index 0fa8d2675f..8d229d60b9 100644
--- a/pod/perlport.pod
+++ b/pod/perlport.pod
@@ -353,7 +353,8 @@ where it is undesirable.
Don't use C<:> as a part of a filename since many systems use that for
their own semantics (MacOS Classic for separating pathname components,
many networking schemes and utilities for separating the nodename and
-the pathname, and so on).
+the pathname, and so on). For the same reasons, avoid C<@>, C<;> and
+C<|>.
The I<portable filename characters> as defined by ANSI C are
@@ -362,7 +363,12 @@ The I<portable filename characters> as defined by ANSI C are
0 1 2 3 4 5 6 7 8 9
. _ -
-and the "-" shouldn't be the first character.
+and the "-" shouldn't be the first character. If you want to be
+hypercorrect, stay within the 8.3 naming convention (all the files and
+directories have to be unique within one directory if their names are
+lowercased and truncated to eight characters before the C<.>, if any,
+and to three characters after the C<.>, if any). (And do not use
+C<.>s in directory names.)
=head2 System Interaction