Syntax fix

This commit is contained in:
swagg boi 2021-02-28 02:27:38 -05:00
parent d5455490bf
commit 83cc7b74e7

View file

@ -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';