summaryrefslogtreecommitdiff
path: root/pod/perlvar.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r--pod/perlvar.pod5
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index ccc4196bfa..890909d526 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -185,8 +185,9 @@ Mnemonic: works in double-quoted context.
=item $$
X<$$> X<$PID> X<$PROCESS_ID>
-The process number of the Perl running this script. You should
-consider this variable read-only, although it will be altered
+The process number of the Perl running this script. Though you I<can> set
+this variable, doing so is generally discouraged, although it can be
+invaluable for some testing purposes. It will be reset automatically
across C<fork()> calls.
Note for Linux users: on Linux, the C functions C<getpid()> and