警告:根据当前目录名称猜测 NAME [src]
Warning: Guessing NAME [src] from current directory name
当我运行
perl Makefile.PL
我明白了
Warning: Guessing NAME [src] from current directory name.
这不是我想要的。我用
生成了这个 Makefile
mojo 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',
...
);
当我运行
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',
...
);