summaryrefslogtreecommitdiffstats
path: root/lib/Reply.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Reply.pm')
-rw-r--r--lib/Reply.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Reply.pm b/lib/Reply.pm
index 66ef8a4..699e808 100644
--- a/lib/Reply.pm
+++ b/lib/Reply.pm
@@ -94,7 +94,8 @@ sub run {
}
catch {
$self->_print_error($_);
- }
+ };
+ $self->_loop;
}
print "\n";
}
@@ -140,6 +141,12 @@ sub _print_result {
$self->_wrapped_plugin('print_result', @result);
}
+sub _loop {
+ my $self = shift;
+
+ $self->_chained_plugin('loop');
+}
+
sub _wrapped_plugin {
my $self = shift;
my @plugins = ref($_[0]) ? @{ shift() } : $self->plugins;