On Mon, 5 Dec 2016, Charlie Brady wrote:
> If I try to embed it within a top-level index application, like so:
>
> ...
> use Mojolicious::Plugin::Mount;
>
> plugin Mount => {'/server-manager/cgi-bin/syslog' => './syslog'};
> plugin Mount => {'/server-manager/cgi-bin/systeminformation' =>
> './systeminformation'};
> ...
>
> Then I get scoping and syntax errors when I try to run it - but not with a
> test compile - the line numbers suggest problems with helper declarations:
In case it is relevant:
root@10:/etc/e-smith/web/functions# mojo version
CORE
Perl (v5.22.0, linux)
Mojolicious (7.10, Doughnut)
OPTIONAL
EV 4.0+ (n/a)
IO::Socket::Socks 0.64+ (n/a)
IO::Socket::SSL 1.94+ (1.997)
Net::DNS::Native 0.15+ (0.15)
You might want to update your Mojolicious to 7.11!
root@10:/etc/e-smith/web/functions#