On Mon, 5 Dec 2016, Stefan Adams wrote:
> Surely there's just something tiny that's being overlooked! :O
Looks to be related to the class name which specializes M::L.
root@10:/etc/e-smith/web/functions# cat My/ML.pm
use Mojolicious::Lite;
1;
root@10:/etc/e-smith/web/functions# diff -u test.mount test2.mount
--- test.mount 2016-12-05 23:17:58.485718918 +0000
+++ test2.mount 2016-12-05 23:18:17.425916545 +0000
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-use My::ML;
+use Mitel::MSL::Mojolicious::ServerManagerX;
app->defaults(expires => 1);
push @{app->static->paths}, '/etc/e-smith/web/common';
root@10:/etc/e-smith/web/functions# diff -u My/ML.pm
/usr/lib/perl/vendor_perl/5.22.0/Mitel/MSL/Mojolicious/ServerManagerX.pm
root@10:/etc/e-smith/web/functions# diff -u test.mount test2.mount---
test.mount 2016-12-05 23:17:58.485718918 +0000
+++ test2.mount 2016-12-05 23:18:17.425916545 +0000
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-use My::ML;
+use Mitel::MSL::Mojolicious::ServerManagerX;
app->defaults(expires => 1);
push @{app->static->paths}, '/etc/e-smith/web/common';
root@10:/etc/e-smith/web/functions# perl -I. test.mount > /dev/null[Mon
Dec 5 23:19:37 2016] [debug] Your secret passphrase needs to be changed
root@10:/etc/e-smith/web/functions# perl -I. test2.mount >/dev/nullString
found where operator expected at /etc/e-smith/web/functions/mini.syslog
line 11, near "get '/'"
(Do you need to predeclare get?)
Can't load application from file "/etc/e-smith/web/functions/mini.syslog":
syntax error at /etc/e-smith/web/functions/mini.syslog line 6, near
"helper syslog_enabled"
syntax error at /etc/e-smith/web/functions/mini.syslog line 9, near "}"
syntax error at /etc/e-smith/web/functions/mini.syslog line 15, near "}"
Compilation failed in require at (eval 75) line 1.
root@10:/etc/e-smith/web/functions#