From: Artur Bergman Date: Sun, 9 Jun 2002 15:44:37 +0000 (+0000) Subject: Follow up on changing keyword to special subroutine. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cd0db8e5f038869374e1184e3ec8e8051da9057a;p=p5sagit%2Fp5-mst-13.2.git Follow up on changing keyword to special subroutine. p4raw-id: //depot/perl@17135 --- diff --git a/pod/perlmod.pod b/pod/perlmod.pod index 029f41b..d3b087c 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 keyword. In C you can do whatever you need to do, +be cloned automatically. Perl after 5.7.2 has support for the C +special subroutine . In C you can do whatever you need to do, like for example handle the cloning of non-Perl data, if necessary. C 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,