我是 perl 的菜鸟。搜索“如何安装 perl 模块”我确实安装了 cpan 并尝试了以下操作:
sudo cpan install Logger
但收到:
Going to read '/Users/steve/.cpan/Metadata'
Database was generated on Wed, 09 Oct 2013 06:53:03 GMT
Warning: Cannot install Logger, don't know what it is.
Try the command
i /Logger/
to find objects with matching identifiers.
所以我也试过了:
cpan[1]> i Logger
Going to read '/Users/steve/.cpan/Metadata'
Database was generated on Wed, 09 Oct 2013 06:53:03 GMT
No objects found of any type for argument Logger
以下是一些进口:
use TDScli;
use Logger;