git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-REPL@4508
bd8105ee-0ff8-0310-8827-fb3f25b6796d
my $line = $self->$orig(@args);
# add a BEGIN block to set the package around at the end of the sub
# without mangling the return value (we save it off into a global)
- $line .= '; BEGIN { $Devel::REPL::Plugin::Packages::PKG_SAVE = __PACKAGE__; }';
+ $line .= '
+; BEGIN { $Devel::REPL::Plugin::Packages::PKG_SAVE = __PACKAGE__; }';
return $line;
};