develooper Front page | perl.perl5.porters | Postings from November 2005

[PATCH] $Config{siteperl} should be $Config{sitelib}

Thread Next
Jan Dubois
November 30, 2005 13:24
[PATCH] $Config{siteperl} should be $Config{sitelib}
Message ID:
Patch is against 5.8.7, but should apply to blead with some fuzz.

I'm wondering if we should mention that $Config{sitelib} is the
value it had when perl was compiled.  It is not possible to
change the location of by editing
because the path is hardcoded using SITELIB_EXP in perl.c


--- pod/perlrun.pod.~1~	Wed Nov 30 13:15:01 2005
+++ pod/perlrun.pod	Wed Nov 30 13:15:01 2005
@@ -422,11 +422,11 @@
 =item B<-f>
-Disable executing F<$Config{siteperl}/> at
+Disable executing F<$Config{sitelib}/> at
 Perl can be built so that it by default will try to execute
-F<$Config{siteperl}/> at startup.  This is a hook that
+F<$Config{sitelib}/> 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.
End of Patch.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About