[Bast-commits] r4982 - Devel-BeginLift/1.000/branches/entersub_for_cv/lib/Devel

rafl at dev.catalyst.perl.org rafl at dev.catalyst.perl.org
Sat Oct 25 11:51:46 BST 2008


Author: rafl
Date: 2008-10-25 11:51:46 +0100 (Sat, 25 Oct 2008)
New Revision: 4982

Modified:
   Devel-BeginLift/1.000/branches/entersub_for_cv/lib/Devel/BeginLift.pm
Log:
Document *_for_cv.

Modified: Devel-BeginLift/1.000/branches/entersub_for_cv/lib/Devel/BeginLift.pm
===================================================================
--- Devel-BeginLift/1.000/branches/entersub_for_cv/lib/Devel/BeginLift.pm	2008-10-25 10:51:35 UTC (rev 4981)
+++ Devel-BeginLift/1.000/branches/entersub_for_cv/lib/Devel/BeginLift.pm	2008-10-25 10:51:46 UTC (rev 4982)
@@ -111,6 +111,19 @@
 lifting magic is number of teardown_for calls matches number of setup_for
 calls.
 
+=head2 setup_for_cv
+
+  $id = Devel::BeginLift->setup_for_cv(\&code);
+
+Same as C<setup_for>, but only registers begin lifting magic for one code
+reference. Returns an id to be used in C<teardown_for_cv>.
+
+=head2 teardown_for_cv
+
+  Devel::BeginLift->teardown_for_cv($id);
+
+Deregisters begin lifting magic referred to by C<$id>.
+
 =head1 AUTHOR
 
 Matt S Trout - <mst at shadowcatsystems.co.uk>




More information about the Bast-commits mailing list