summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-07-04 14:47:31 -0400
committerJesse Luehrs <doy@tozt.net>2013-07-04 14:47:31 -0400
commitef9f1f3d71503c752b0c1d6c54ffd4ac611fadeb (patch)
treedc241149ae30183916342e1126fe460caa992891
parentd83bff0dd14594ce44a35eb84f336bb1f68f44d6 (diff)
downloadcarp-reply-ef9f1f3d71503c752b0c1d6c54ffd4ac611fadeb.tar.gz
carp-reply-ef9f1f3d71503c752b0c1d6c54ffd4ac611fadeb.zip
update docs
-rw-r--r--lib/Carp/Reply.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Carp/Reply.pm b/lib/Carp/Reply.pm
index f8ac439..b9558d0 100644
--- a/lib/Carp/Reply.pm
+++ b/lib/Carp/Reply.pm
@@ -29,7 +29,10 @@ some commands to move around in the call stack.
The package and lexical environment are set to the package and lexical
environment of the current stack frame (and are updated when you use any of the
-commands which move around the stack frames).
+commands which move around the stack frames). The lexical variables are aliased
+to the variable in the stack frame, so if the repl is invoked manually (not
+through a C<__DIE__> handler), you can actually modify the contents of lexical
+variables to use when the repl closes and the app starts running again.
You can start a repl at any given point in your program by inserting a call to
C<Carp::Reply::repl> in your code. In addition, the default C<import> method