in reply to Re: first steps with Mojolicious::Lite
in thread first steps with Mojolicious::Lite
I looked at Under and it seems powerful, maybe a bit too much framew-orcish at the moment. Or, if you prefere, too much sugar for my taste. Surely for my ignorance but when I see my $foo = $r->under('/foo')->to('foo#baz'); I cannot see immediately what is passing on.
But anyway thanks for the hint; something to study.
But, if I dont misunderstand myself, I have not duplicated code in the actual code: the IP check and the authentication only happens in get_first while in get_second only a cookie is checked, no?
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: first steps with Mojolicious::Lite
by shmem (Chancellor) on Jun 15, 2020 at 17:21 UTC | |
by Discipulus (Canon) on Jun 16, 2020 at 11:23 UTC | |
by shmem (Chancellor) on Jun 16, 2020 at 12:31 UTC | |
by haukex (Archbishop) on Jun 16, 2020 at 11:38 UTC | |
|
Re^3: first steps with Mojolicious::Lite
by trippledubs (Deacon) on Jun 16, 2020 at 01:48 UTC | |
by Anonymous Monk on Jun 16, 2020 at 09:24 UTC |