我跑步时
perl Makefile.PL
我知道
Warning: Guessing NAME [src] from current directory name.
这不是我想要的。我用
生成了这个Makefilemojo generate makefile
看起来像,
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
VERSION => '0.01',
PREREQ_PM => {'Mojolicious' => '8.30'},
test => {TESTS => 't/*.t'}
);
仅更新了WriteMakefile()
以添加缺少的NAME
WriteMakefile(
NAME => 'MyApp',
...
);