summaryrefslogtreecommitdiff
path: root/pod/perlrun.pod
diff options
context:
space:
mode:
authorDavid Cantrell <david@cantrell.org.uk>2020-03-06 00:21:47 +0000
committerKarl Williamson <khw@cpan.org>2020-03-11 08:40:22 -0600
commit7c3683af120228d0d686aa1ca8ac76d9108fa3b1 (patch)
treed318e5c07730ef56082cf9388171bfef5d57cf74 /pod/perlrun.pod
parentf22445685702b228e7f966ba81e4a55fb9f5f5c7 (diff)
downloadperl-7c3683af120228d0d686aa1ca8ac76d9108fa3b1.tar.gz
minor changes from review
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r--pod/perlrun.pod23
1 files changed, 17 insertions, 6 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index 39daa42021..beda97b4cb 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -1446,10 +1446,8 @@ lines before doing anything else, just to keep people honest:
Some options, in particular C<-I>, C<-M>, C<PERL5LIB> and C<PERL5OPT> can
interact, and the order in which they are applied is important.
-NB that there are other rarer options that may come in to play. We do not
-consider them in this section. And this section does not document what
-I<actually> happens inside the perl interpreter, it documents what
-I<effectively> happens.
+Note that this section does not document what I<actually> happens inside the
+perl interpreter, it documents what I<effectively> happens.
=over
@@ -1512,9 +1510,9 @@ line, it is not allowed in C<PERL5OPT>.
After normal processing of C<-M> switches from the command line, all
the C<-M> switches in C<PERL5OPT> are extracted. They are processed from
-left to right, ie the same as those on the command line.
+left to right, I<i.e.> the same as those on the command line.
-And example may make this clearer:
+An example may make this clearer:
export PERL5OPT="-Mlib=optm1 -Iopti1 -Mlib=optm2 -Iopti2"
export PERL5LIB=e1:e2
@@ -1539,4 +1537,17 @@ will result in an C<@INC> that begins with:
e2
)
+=item Other complications
+
+There are some complications that are ignored in the examples above:
+
+=over
+
+=item arch and version subdirs
+
+All of C<-I>, C<PERL5LIB> and C<use lib> will also prepend arch and version
+subdirs if they are present
+
+=item sitecustomize.pl
+
=back