summaryrefslogtreecommitdiff
path: root/pod/perlrun.pod
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2005-03-17 20:06:40 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-18 14:02:36 +0000
commit20ef40cf6a00eee95a449854794854a93e411e3b (patch)
treee1a0b493463696f7f5cf6345c51fbe7fb7064af8 /pod/perlrun.pod
parent7fc634935189abec1d574a9733c7093e5c9f2781 (diff)
downloadperl-20ef40cf6a00eee95a449854794854a93e411e3b.tar.gz
Re: sitecustomize.pl [PATCH]
Message-ID: <lru0n9w433.fsf@caliper.activestate.com> Adds a new command-line switch, -f, and a new optional compile-time setting -DUSE_SITECUSTOMIZE p4raw-id: //depot/perl@24043
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r--pod/perlrun.pod11
1 files changed, 11 insertions, 0 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index 1e83bdc114..88c5446d45 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -430,6 +430,17 @@ will not look for a filename in the argument list. Multiple B<-e>
commands may be given to build up a multi-line script. Make sure
to use semicolons where you would in a normal program.
+=item B<-f>
+
+Disable executing F<$Config{siteperl}/sitecustomize.pl> at
+startup.
+
+Perl can be built so that it by default will try to execute
+F<$Config{siteperl}/sitecustomize.pl> at startup. This is a hook that
+allows the sysadmin to customize how perl behaves. It can for
+instance be used to add entries to the @INC array to make perl find
+modules in non-standard locations.
+
=item B<-F>I<pattern>
specifies the pattern to split on if B<-a> is also in effect. The