diff --git a/www-swagg.pl b/www-swagg.pl index 71b3a83..4432ceb 100755 --- a/www-swagg.pl +++ b/www-swagg.pl @@ -3,8 +3,8 @@ use Mojolicious::Lite; get '/' => sub { - my ($c) = @_; - my $fortune = `fortune` || 'huh??'; + my ($c) = @_; + my $fortune = `fortune` || "huh??\n"; $c->render(fortune => $fortune) } => 'index';