git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-REPL@4342
bd8105ee-0ff8-0310-8827-fb3f25b6796d
after 'execute' => sub {
my ($self) = @_;
# if we survived execution successfully, save the new package out the global
- $self->current_package($PKG_SAVE);
+ $self->current_package($PKG_SAVE) if defined $PKG_SAVE;
};
around 'eval' => sub {