summaryrefslogtreecommitdiffstats
path: root/lib/Reply
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-06-26 14:04:29 -0400
committerJesse Luehrs <doy@tozt.net>2013-06-26 14:04:29 -0400
commit2c7ff8fc16795c25234a8cb9847712d581396562 (patch)
tree27632073d5deceda753763d2ae5ffcaaecd8e208 /lib/Reply
parent7561077cf06f8228aa32f21d4e7e7e819d052f8b (diff)
downloadcarp-reply-2c7ff8fc16795c25234a8cb9847712d581396562.tar.gz
carp-reply-2c7ff8fc16795c25234a8cb9847712d581396562.zip
set the current package properly when moving around in frames
Diffstat (limited to 'lib/Reply')
-rw-r--r--lib/Reply/Plugin/CarpReply.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Reply/Plugin/CarpReply.pm b/lib/Reply/Plugin/CarpReply.pm
index 3bc2719..7206348 100644
--- a/lib/Reply/Plugin/CarpReply.pm
+++ b/lib/Reply/Plugin/CarpReply.pm
@@ -40,6 +40,7 @@ sub compile {
my ($next, $line, %opts) = @_;
$opts{environment} = $self->_frame->lexicals;
+ $opts{package} = $self->_frame->package;
return $next->($line, %opts);
}