2014-04-28 3 views
0
Can't locate Spreadsheet/ParseExcel.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) 

를 설치 한 것 같다 :은 그것이 설치되어 있지만

이 위치하고
% perl -e'use CPAN; install "Spreadsheet:WriteExcel"' 

Going to read '/home/aspect_mkn8rd/.cpan/Metadata' 
    Database was generated on Sun, 27 Apr 2014 09:41:02 GMT 
Spreadsheet::WriteExcel is up to date (2.40). 

, 네?

% ls -la /usr/local/lib/perl/5.14.2/auto/Spreadsheet/WriteExcel 

total 12 
drwxrwxr-x 2 root root 4096 апр. 28 13:11 . 
drwxrwxr-x 3 root root 4096 апр. 28 13:11 .. 
-rw-rw-r-- 1 root root 2519 апр. 28 13:11 .packlist 


% cat /usr/local/lib/perl/5.14.2/auto/Spreadsheet/WriteExcel/.packlist 

/usr/local/bin/chartex 
/usr/local/man/man1/chartex.1p 
/usr/local/man/man3/Spreadsheet::WriteExcel.3pm 
/usr/local/man/man3/Spreadsheet::WriteExcel::BIFFwriter.3pm 
<..> 
/usr/local/man/man3/Spreadsheet::WriteExcel::Workbook.3pm 
/usr/local/man/man3/Spreadsheet::WriteExcel::Worksheet.3pm 
/usr/local/share/perl/5.14.2/Spreadsheet/WriteExcel.pm 
/usr/local/share/perl/5.14.2/Spreadsheet/WriteExcel/BIFFwriter.pm 
/usr/local/share/perl/5.14.2/Spreadsheet/WriteExcel/Big.pm 
<..> 
/usr/local/share/perl/5.14.2/Spreadsheet/WriteExcel/Workbook.pm 
/usr/local/share/perl/5.14.2/Spreadsheet/WriteExcel/Worksheet.pm 

% perldoc -l Spreadsheet::WriteExcel 

/usr/local/share/perl/5.14.2/Spreadsheet/WriteExcel.pm 

왜 그렇습니까? 어떻게해야합니까?

답변

6

Spreadsheet::ParseExcelSpreadsheet::WriteExcel은 다른 모듈입니다.

전자도 설치 했습니까?

하지, 단지 다음을 수행하는 경우 :

perl -e'use CPAN; install "Spreadsheet::ParseExcel"' 
+2

오. 때로는 잘 필요가있는 것처럼 보입니다. 할 수있을 때 받아 들일 것입니다. –

+2

;) S'ok, 우린 모두 거기에 있었어. – Miller