Permalink
Browse files

doc suggestion per awwaiid

  • Loading branch information...
1 parent 0ea46a4 commit 379edb11a22c3c7d4c3d56a9963d8a1abdba8f04 @miyagawa committed May 13, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/Plack/Middleware/REPL.pm
@@ -76,6 +76,9 @@ Hit your application, and you'll get a REPL shell on the console:
$ $self
$Dancer_Route1 = Dancer::Route=HASH(0x10089d278);
+You can also directly call L<Carp::REPL>'s C<repl> function anywhere
+in your application, to start a REPL shell without dying.
+
See L<Carp::REPL> for more commands in the REPL shell.
=head1 OPTIONS
@@ -94,7 +97,9 @@ Also enables REPL when your app throws warnings.
Because of the way C<< $SIG{__DIE__} >> works in Perl, this middleware
doesn't work well with web application frameworks that sets its own
-exception handler, such as L<Mojolicious>.
+exception handler, such as L<Mojolicious>. For such cases, you can
+enabel the REPL shell by calling the C<repl> function in your
+application (described above).
=head1 AUTHOR

0 comments on commit 379edb1

Please sign in to comment.