Syntax fix
This commit is contained in:
parent
d5455490bf
commit
83cc7b74e7
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue