From 940bbcd7a91e3b81657d06b700e7f9dcc7cc7b32 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 29 May 2013 03:02:56 -0500 Subject: print all results --- lib/App/REPL/Plugin/Defaults.pm | 6 +++--- 1 file 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; -- cgit v1.2.3-54-g00ecf