thank you, stefan and sebastian.  it works.  I think this will solve all my
issues.  I will experiment more tomorrow.

sebastian---given how nice this is, would it make sense to include this in
the standard M set? I would even mention it in "growing" as one way to go.

regards,

/iaw


----
Ivo Welch ([email protected])
http://www.ivo-welch.info/
J. Fred Weston Distinguished Professor of Finance
Anderson School at UCLA, C524
Free Finance Textbook, http://book.ivo-welch.info/
Exec Editor, Critical Finance Review,
http://www.critical-finance-review.org/
Editor and Publisher, FAMe, http://www.fame-jagazine.com/

On Mon, Apr 3, 2017 at 9:43 PM, Stefan Adams <[email protected]> wrote:

>
> On Mon, Apr 3, 2017 at 12:20 PM, ivo welch <[email protected]>
> wrote:
>
>> Can't load application from file "myapp.pl": Plugin "Mojolyst" missing,
>> maybe you need to install it?
>>
>> it's not in the cpan list, either.  this would be a nice plugin to
>> distribute.
>>
>
> You'll need to use an updated Mojolyst.pm plugin
> <https://gist.github.com/kraih/2149176#gistcomment-2045769>.
>
> Also, this is your file tree:
>
>
> $ find -type f
> ./myapp.pl
> ./lib/MyApp/Controller/Foo.pm
> ./lib/MyApp/Controller/Bar.pm
> ./lib/Mojolicious/Plugin/Mojolyst.pm
>
>
> Put the contents of Sebastian's blog post into the files respectively, and
> execute:
>
> $ perl myapp.pl get /test
> [Mon Apr  3 23:42:06 2017] [debug] GET "/test"
> [Mon Apr  3 23:42:06 2017] [debug] Routing to a callback
> [Mon Apr  3 23:42:06 2017] [debug] Rendering template "test.html.ep" from
> DATA section
> [Mon Apr  3 23:42:06 2017] [debug] 200 OK (0.000907s, 1102.536/s)
> Just some test template.
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Mojolicious" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/mojolicious/IaY8LtJaaes/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to