summaryrefslogtreecommitdiffstats
path: root/lib/Carp/Reply.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Carp/Reply.pm')
-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