summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-05-29 03:02:56 -0500
committerJesse Luehrs <doy@tozt.net>2013-05-29 03:02:56 -0500
commit940bbcd7a91e3b81657d06b700e7f9dcc7cc7b32 (patch)
treeb46790b58b667726c6e056e5bcbb6425a0f9f8cc
parentf5fd49ff2cb841596873d268b776d8d12d7fd952 (diff)
downloadreply-940bbcd7a91e3b81657d06b700e7f9dcc7cc7b32.tar.gz
reply-940bbcd7a91e3b81657d06b700e7f9dcc7cc7b32.zip
print all results
-rw-r--r--lib/App/REPL/Plugin/Defaults.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/App/REPL/Plugin/Defaults.pm b/lib/App/REPL/Plugin/Defaults.pm
index 74734b9..fbd96f8 100644
--- a/lib/App/REPL/Plugin/Defaults.pm
+++ b/lib/App/REPL/Plugin/Defaults.pm
@@ -50,10 +50,10 @@ sub print_error {
sub print_result {
my $self = shift;
- my ($next, $result) = @_;
+ my ($next, @result) = @_;
- print $result, "\n"
- if defined $result;
+ print @result, "\n"
+ if @result;
}
1;