in reply to First steps with Mojolicious

I don't have an answer to your actual question. I just want to point out that if you have two working apps and you have a URI map that won't collide, there isn't necessarily a compelling reason to join them. They can be run as is together. Re: Serving multiple Plack apps shows Catalyst, Mojolicious, PHP, and CGI code all run under one app server. Doing two mojo apps would work just as easily.

Replies are listed 'Best First'.
Re^2: First steps with Mojolicious
by frazap (Monk) on May 02, 2019 at 06:07 UTC

    Thanks for the suggestion

    At the end, placing the connection to the database in the startup of MyLib.pm works. That means I can drop the file MyLib/Invtot.pm whitch was supposed to make this