On Tue, 6 Dec 2016, Charlie Brady wrote:

> [root@dsfdsfd functions]# cat My/ML.pm 
> package My::ML;
> use Mojolicious::Lite;
> 
> plugin 'AppDefault';
> 
> 1;

Changing the callers to use the same code in-line works:

[root@dsfdsfd functions]# cat one
#!/usr/bin/perl

use Mojolicious::Lite;
plugin 'AppDefault';

get '/' => sub { shift->render(text => "one\n") }; 

app->start;
[root@dsfdsfd functions]# 

Reply via email to