summaryrefslogtreecommitdiff
path: root/pod/perlvar.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-02 08:40:36 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-02 08:40:36 +0000
commit6a4647a3a8b62032c9f9f86043d233d69786c400 (patch)
treee0c0537f9e3ecc47dbe3210575c8e4f95c3f2dac /pod/perlvar.pod
parente26ae24d00b4db2355949e2f0fcd0f6abaa857e3 (diff)
downloadperl-6a4647a3a8b62032c9f9f86043d233d69786c400.tar.gz
FreeBSD $0 dance.
p4raw-id: //depot/perl@19925
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r--pod/perlvar.pod6
1 files changed, 4 insertions, 2 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index af50613fd3..e00ec4fba0 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -851,8 +851,10 @@ length of C<$0>. In the most extreme case it may be limited to the
space occupied by the original C<$0>.
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.
+from the ps(1) output. For example, setting C<$0> to C<"foobar"> may
+result in C<"perl: foobar (perl)"> (whether both the C<"perl: "> prefix
+and the " (perl)" suffix are shown depends on your exact BSD variant
+and version). This is an operating system feature, Perl cannot help it.
In multithreaded scripts Perl coordinates the threads so that any
thread may modify its copy of the C<$0> and the change becomes visible