小编Mar*_*rgo的帖子

2 个不同 CPAN 模块中具有相同名称的子例程

运行 perl 时出现此错误:

[Thu Mar 16 00:24:23 2023] list_directory_1.cgi:子例程 main::getcwd 在 /usr/lib/cgi-bin/list_directory_1.cgi 第 15 行重新定义。

我认为这是来自getcwdCPAN 模块CwdPOSIX. 如何指定从模块中获取该子例程Cwd

perl module subroutine

6
推荐指数
1
解决办法
121
查看次数

使用 apt-get 时如何找到 Perl 模块的名称?

使用 .perl 模块时,Perl 模块的命名方式有所不同apt-get

使用时如何找到需要安装的模块对应的命名apt-get

例如:

use Sort::Key::Natural qw(natsort)被命名为不同的东西apt-get

perl apt

1
推荐指数
1
解决办法
145
查看次数

标签 统计

perl ×2

apt ×1

module ×1

subroutine ×1