perl - UNIVERSAL 不导出任何东西

标签 perl

您好,我在尝试运行 perl 脚本时遇到以下错误:

pc:~/Phd/lenovo/programs/vep/scripts/variant_effect_predictor$ perl variant_effect_predictor.pl --help
UNIVERSAL does not export anything at /home/arron/Phd/lenovo/programs/vep/scripts/variant_effect_predictor/Bio/Tree/TreeFunctionsI.pm line 94.

违规行在哪里:

use UNIVERSAL qw(isa)

问题是什么?

最佳答案

旧版本 UNIVERSAL

You may request the import of three functions (isa, can, and VERSION), but this feature is deprecated and will be removed. Please don't do this in new code.

最新版本只是说

EXPORTS

None.

关于perl - UNIVERSAL 不导出任何东西,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35258993/

相关文章:

perl - Perl Diamond运算符中的奇怪内容

perl - 如何从 Perl 中的数组中获取加权随机选择?

perl - 使用 Plack 和 Middlewares 时将默认 perl 的 IO 切换为 utf-8 是否正确?

linux - 生成 Linux X11 事件?

perl - CPAN 要求文件

java - 从 java 运行 perl 脚本的问题

Perl:使重复哈希键的声明成为 fatal error ?

perl - Perl 5.18+ 中的哈希合并方法受到哈希顺序随机化的影响吗?

html - Mason 代码中的条件

mysql - Perl MySQL编程