ASHOK
ASHOK

Reputation: 1545

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?

Upvotes: 2

Views: 16340

Answers (3)

nik
nik

Reputation: 13450

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

Upvotes: 3

Sinan Ünür
Sinan Ünür

Reputation: 118118

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.

Upvotes: 11

David
David

Reputation: 802

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

Upvotes: 3

Related Questions