diff options
author | Artur Bergman <sky@nanisky.com> | 2002-06-09 15:44:37 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2002-06-09 15:44:37 +0000 |
commit | cd0db8e5f038869374e1184e3ec8e8051da9057a (patch) | |
tree | d9d4ecb713aeff2c91e04b30fc2ba7e4e92eeffc | |
parent | 4ebc451bd0ba36823aced89b266c63cb608ab0c7 (diff) | |
download | perl-cd0db8e5f038869374e1184e3ec8e8051da9057a.tar.gz |
Follow up on changing keyword to special subroutine.
p4raw-id: //depot/perl@17135
-rw-r--r-- | pod/perlmod.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlmod.pod b/pod/perlmod.pod index 029f41b111..d3b087caad 100644 --- a/pod/perlmod.pod +++ b/pod/perlmod.pod @@ -488,8 +488,8 @@ Ithreads work by cloning the data tree so that no data is shared between different threads. These threads can be used using the threads module or by doing fork() on win32 (fake fork() support). When a thread is cloned all Perl data is cloned, however non-Perl data cannot -be cloned automatically. Perl after 5.7.2 has support for the -C<CLONE> keyword. In C<CLONE> you can do whatever you need to do, +be cloned automatically. Perl after 5.7.2 has support for the C<CLONE> +special subroutine . In C<CLONE> you can do whatever you need to do, like for example handle the cloning of non-Perl data, if necessary. C<CLONE> will be executed once for every package that has it defined (or inherits it). It will be called in the context of the new thread, |