简体   繁体   中英

How do I install Spreadsheet::WriteExcel on Windows with ActiveState Perl?

I have installed Perl version 5.6.1. But it doesn't support Date::Calc . So I installed 5.10.0. Now I am writing a program that writes data in Excel using Perl. For this, I have to use Spreadsheet::WriteExcel but Spreadsheet::WriteExcel was not installed when I installed ActiveState Perl .

So now do I have to install another version of perl or Spreadsheet::WriteExcel only?

If Spreadsheet::WriteExcel is enough, what exactly do I have to do?

Your OS/distribution combination must have a way to fetch either precompiled or source packages. For example, on Windows with ActiveState Perl, you can use

C:\> ppm install Spreadsheet::WriteExcel

You might also find the FAQ What is CPAN? useful.

Spreadsheet::WriteExcel isn't part of the core perl distribution. It is a module on CPAN . It will need to be installed separately. See the CPAN FAQ on How to install perl modules

You may have to get the Spreadsheet::WriteExcel module . The docs show you how to install in with ActivePerl.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM