@@ -42,9+42,12 @@ It acts globally on all the threads that may spawn anywhere in your program, wit
=head1 FUNCTIONS
-=head2 C<register BLOCK>
+=head2 C<register>
-Specify that the C<BLOCK> 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.