diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-06-26 15:11:06 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-06-26 15:11:06 -0400 |
commit | 1aadfc490b86be464b01069a6e5dcb521c4c6ebd (patch) | |
tree | 44361b608cffeb167c2c13f01acc96593b03a057 /lib/Reply.pm | |
parent | dd7739f1a2a255f1eafe51645cb4a431c64c7ea6 (diff) | |
download | reply-1aadfc490b86be464b01069a6e5dcb521c4c6ebd.tar.gz reply-1aadfc490b86be464b01069a6e5dcb521c4c6ebd.zip |
make breaking out of the repl with loop callbacks actually work
Diffstat (limited to 'lib/Reply.pm')
-rw-r--r-- | lib/Reply.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Reply.pm b/lib/Reply.pm index e84e56e..a378fa8 100644 --- a/lib/Reply.pm +++ b/lib/Reply.pm @@ -142,7 +142,9 @@ sub step { catch { $self->_print_error($_); }; - $self->_loop; + + my ($continue) = $self->_loop; + return $continue; } sub _load_config { |