【发布时间】:2014-11-20 10:11:37
【问题描述】:
我正在尝试遵循Net::SCP中显示的示例
我在我的 Windows 开发机器中使用带有 Eclipse 的草莓 perl。最终,脚本将在 linux 服务器上运行,以分发一些配置文件作为部署过程的一部分。
Eclipse 抱怨找不到use Net::SCP qw(scp iscp);:
Can't locate Net/SCP.pm in @INC (you may need to install the Net::SCP module) (@INC
contains: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib
.)
由于我是 perl 新手,我的问题是多方的。上面的例子是一个很好的例子吗?如果是这样,我该如何安装缺少的模块。如果不是,我应该使用什么替代方法?
【问题讨论】:
-
你安装了 Net::SCP 吗?
cpan Net::SCP -
感谢 ikegami,这似乎是我所缺少的。
标签: perl scp strawberry-perl