summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorPaul Saab <ps@yahoo-inc.com>2000-08-01 08:41:39 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-02 01:27:44 +0000
commit4bc88a62f4d56d50d2cea2bb6c705aea33b892f4 (patch)
tree281eae336a7a863e88b21a577d5df975bdb22222 /pod
parent00c29ff8bf429b0884d885b7604c1d33f673b0c3 (diff)
downloadperl-4bc88a62f4d56d50d2cea2bb6c705aea33b892f4.tar.gz
In new BSDs changes to argv[] do not show up in ps(1) output,
instead one must use setproctitle(). This was already addressed by change #6457, but the below has a new variant for FreeBSD 4.0 or later, and the matter is also documented more. Subject: [ID 20000801.007] setting $0 on FreeBSD 4.x does not get reflected in /bin/ps Message-Id: <20000801154139.A53740@yahoo-inc.com> p4raw-link: @6457 on //depot/perl: 0c9177abdae6e91f4dfdab2ef3cc817ec901e51eon //depot/metaconfig: efc5abcdbec468dfb20e18acbe3ab6c1cd9e92c3 p4raw-id: //depot/perl@6483
Diffstat (limited to 'pod')
-rw-r--r--pod/perlvar.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index 15308e45aa..e75cf35f73 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -691,6 +691,11 @@ program sees. This is more useful as a way of indicating the current
program state than it is for hiding the program you're running.
(Mnemonic: same as B<sh> and B<ksh>.)
+Note for BSD users: setting C<$0> does not completely remove "perl"
+from the ps(1) output. For example, setting C<$0> to C<"foobar"> will
+result in C<"perl: foobar (perl)">. This is an operating system
+feature.
+
=item $[
The index of the first element in an array, and of the first character