From f976a32382588d1596c4f13d471bd6664ad9748d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 29 May 2013 04:33:44 -0500 Subject: don't need a newline here --- lib/App/REPL/Plugin/Defaults.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/REPL/Plugin/Defaults.pm b/lib/App/REPL/Plugin/Defaults.pm index d45c088..057fcce 100644 --- a/lib/App/REPL/Plugin/Defaults.pm +++ b/lib/App/REPL/Plugin/Defaults.pm @@ -44,7 +44,7 @@ sub print_error { my $self = shift; my ($next, $error) = @_; - print $error, "\n" + print $error if defined $error; } -- cgit v1.2.3-54-g00ecf