[Bps-public-commit] r15035 - in Carp-REPL: lib/Carp

sartak at bestpractical.com sartak at bestpractical.com
Tue Aug 12 06:49:35 EDT 2008


Author: sartak
Date: Tue Aug 12 06:49:34 2008
New Revision: 15035

Modified:
   Carp-REPL/   (props changed)
   Carp-REPL/Changes
   Carp-REPL/lib/Carp/REPL.pm

Log:
 r69329 at onn:  sartak | 2008-08-12 06:47:59 -0400
 Document the "test" option


Modified: Carp-REPL/Changes
==============================================================================
--- Carp-REPL/Changes	(original)
+++ Carp-REPL/Changes	Tue Aug 12 06:49:34 2008
@@ -1,6 +1,7 @@
 Revision history for Carp-REPL
 
 0.13
+        perl -MCarp::REPL=test t/foo.t give you a REPL on each failing test!
         Fix longstanding "not nested deeply enough" bug
             Caused by not skipping over "eval" frames
         Move a lot of code into a new dist, Devel::StackTrace::WithLexicals

Modified: Carp-REPL/lib/Carp/REPL.pm
==============================================================================
--- Carp-REPL/lib/Carp/REPL.pm	(original)
+++ Carp-REPL/lib/Carp/REPL.pm	Tue Aug 12 06:49:34 2008
@@ -107,6 +107,12 @@
 Loads the module without installing the die handler. Use this if you just want
 to run C<Carp::REPL::repl> on your own terms.
 
+=head2 C<use Carp::REPL 'test';>
+
+=head2 C<-MCarp::REPL=test>
+
+Load a REPL on test failure! (as long as it uses L<Test::More/ok>)
+
 =head1 FUNCTIONS
 
 =head2 repl



More information about the Bps-public-commit mailing list