From 83cc7b74e70b1de690793f3b719028019640c078 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sun, 28 Feb 2021 02:27:38 -0500 Subject: [PATCH] Syntax fix --- www-swagg.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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';