From: Vincent Pit Date: Fri, 23 Aug 2013 19:37:25 +0000 (-0300) Subject: Make sure the POD headings are linkable X-Git-Tag: v0.05~8 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=4f0afe4e928095f816cf61ea056c092764df6ab5;p=perl%2Fmodules%2FThread-Cleanup.git Make sure the POD headings are linkable --- diff --git a/lib/Thread/Cleanup.pm b/lib/Thread/Cleanup.pm index 53aca1a..7d0d73e 100644 --- a/lib/Thread/Cleanup.pm +++ b/lib/Thread/Cleanup.pm @@ -42,9 +42,12 @@ It acts globally on all the threads that may spawn anywhere in your program, wit =head1 FUNCTIONS -=head2 C +=head2 C -Specify that the C will have to be called (in void context, without arguments) every time a thread finishes its job. + register { ... }; + ®ister($coderef); + +Specify that the given block or code reference C<$coderef> will have to be called (in void context, without arguments) every time a thread finishes its job. More precisely, =over 4