From 1aadfc490b86be464b01069a6e5dcb521c4c6ebd Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 26 Jun 2013 15:11:06 -0400 Subject: make breaking out of the repl with loop callbacks actually work --- lib/Reply.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3-54-g00ecf