我正在尝试安装 cpan 模块。但是出现以下错误
请为此提供解决方案
cpan[3]> install xml::xpath
Going to read '/Users/user/.cpan/Metadata'
Database was generated on Sun, 07 Apr 2013 09:53:02 GMT
Warning: Cannot install xml::xpath, don't know what it is.
Try the command
i /xml::xpath/
to find objects with matching identifiers.
cpan[4]> i/xml::xpath/
Catching error: "Can't locate object method \"xpath/\" via package \"i/xml\" (perhaps you forgot to load \"i/xml\"?) at /System/Library/Perl/5.12/CPAN.pm line 375, <FIN> line 4.\cJ" at /System/Library/Perl/5.12/CPAN.pm line 391
CPAN::shell() called at /System/Library/Perl/5.12/App/Cpan.pm line 295
App::Cpan::_process_options('App::Cpan') called at /System/Library/Perl/5.12/App/Cpan.pm line 364
App::Cpan::run('App::Cpan') called at /usr/bin/cpan5.12 line 12
cpan[5]>