Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thanks for your guidance.#!/usr/bin/perl use strict; use warnings; use Mojolicious::Lite; use Time::HiRes 'time'; get '/' => sub { my $c = shift; my $t = timer(); $c->render(text => $t) }; app->start; sub timer { return time }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mojolicious refresh
by haukex (Archbishop) on Mar 18, 2020 at 07:45 UTC | |
by Your Mother (Archbishop) on Mar 18, 2020 at 08:04 UTC | |
|
Re: Mojolicious refresh
by LanX (Saint) on Mar 18, 2020 at 01:18 UTC | |
by jo37 (Curate) on Mar 18, 2020 at 22:10 UTC | |
by LanX (Saint) on Mar 18, 2020 at 23:21 UTC | |
by jo37 (Curate) on Mar 19, 2020 at 06:29 UTC | |
by Your Mother (Archbishop) on Mar 19, 2020 at 06:54 UTC | |
| |
by LanX (Saint) on Mar 19, 2020 at 08:41 UTC | |
| |
|
Re: Mojolicious refresh
by Anonymous Monk on Mar 18, 2020 at 03:11 UTC | |
|
Re: Mojolicious refresh
by Anonymous Monk on Mar 18, 2020 at 06:54 UTC | |
by Your Mother (Archbishop) on Mar 18, 2020 at 07:44 UTC |