diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-05-29 03:02:56 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-05-29 03:02:56 -0500 |
commit | 940bbcd7a91e3b81657d06b700e7f9dcc7cc7b32 (patch) | |
tree | b46790b58b667726c6e056e5bcbb6425a0f9f8cc /lib | |
parent | f5fd49ff2cb841596873d268b776d8d12d7fd952 (diff) | |
download | reply-940bbcd7a91e3b81657d06b700e7f9dcc7cc7b32.tar.gz reply-940bbcd7a91e3b81657d06b700e7f9dcc7cc7b32.zip |
print all results
Diffstat (limited to 'lib')
-rw-r--r-- | lib/App/REPL/Plugin/Defaults.pm | 6 |
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; |