473,841 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing Spreadsheet::Wr iteExcel,Spread sheet:ParseExce l

9 New Member
I am using Active Perl for running perl programs.I am finding difficulty in installing Spreadsheet::Wr iteExcel,Spread sheet:ParseExce l to the machine for writing a program which will retrieve data from an Excel Sheet.

Can anyone explain me the steps to install Spreadsheet::Wr iteExcel,Spread sheet:ParseExce l in Windows machine.
Jan 20 '07 #1
4 14714
4,059 Recognized Expert Specialist
Start>>Programs >>Activestate/activeperl(fold er)>>documentat ion

You should see a line something like:

The Perl Package Manager , for installing Perl extension modules

Perl Package Manager should be a link. Click it and read the documentation. Super easy to use. All the documentation is also on the activestate website.

The way I do it is I open a DOS window and go to the c:\> prompt. I then type ppm and hit enter. Wait a few seconds for ppm to start up. Then to install a module you type:

install modulename (then hit enter)

Thats really all there is to it. If you are using a firewall (such as zonealarm or some other one) you may need to disable it or add ppm to the firewalls list of programs that are allowed to access the internet.
Jan 20 '07 #2
9 New Member
Thanks Kevin for your immediate response.I was able to install Spreadsheet::Wr iteExcel,Spread sheet::ParseExc el in my machine by your instructions.

If the time allows can you just explain or give a sample program which will retrieve data from an Excel sheet using Spreadsheet::Pa rseExcel interface.

Thank u
Jan 22 '07 #3
1,089 Recognized Expert Top Contributor
Read the docs. That's why they are there


Also, always check a module's installation for examples. At the very least there will be test scripts which will often add enlightenment to the newly initiated. But with more involved modules, you'll also sometimes find examples included with the installation.


To get to the above source, simply start on the pod documentation page from above. Click on the package name "Spreadsheet-ParseExcel-0.28" and then on "browse". Alternatively, you can just download the package and view which files are available that way.

Get to be very familiar with cpan. It'll help you a lot.
Jan 22 '07 #4
4,059 Recognized Expert Specialist
If the module is now loaded on his local PC the dcumentation is there as well. In perl/html/index.html or in the activestate folder. But of course cpan and perldocs are the two sites all perl coders should have bookmarked.
Jan 22 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Fabio | last post by:
Hello, there's a module called Spreadsheet::WriteExcel. It allows me to create a new worksheet and edit its cells: my $workbook = Spreadsheet::WriteExcel->new('my.xls'); my $worksheet = $workbook->addworksheet(); $worksheet -> write('A2', 222); But how can I put some values into the cells of an existing worksheet?
by: Pindz | last post by:
Hello, I have a excel spreadsheet from which I would like to load data into a table in mysql. Can you please give me an example of the above. Thanks in advance Nagsy
by: sir.linying | last post by:
My php script is to call perl scipt which makes use of Spreadsheet::ParseExcel module to parse Excel file. I am able to launch php script from command line so that perl script can run and properly parse Excel file. However, when I put php script on server side and then launch php through client request, perl program can't run. Anyone has any suggestion re how to fix this problem? Thanks a lot, -Ying
by: Kriston Scott | last post by:
I would like to know how to sort the rows in an Excel file, using Perl.
by: tito | last post by:
I would like to write a program which will retrieve the data from the EXCEL file and write into an SQL Server using Perl script.Spreadsheet::WriteExcel programs are working fine.But while executing Spreadsheet::ParseExcel i am getting the error like Can't locate Spreadsheet/ParseExcel.pm in @INC (@INC contains: D:/Perl/lib D:/Pe rl/site/lib .) at parse.pl line 5. I used the following program.Can anyone tell me whether the problem arise...
by: MMak12 | last post by:
I am trying to generate pivot table in excel using perl which brings data from MSAccess .If some body has done this before can you please help me.
by: rasmitasah25 | last post by:
hi, I am very new to perl.I have written a perl script which is writing data into an excel file.The problem is that it is creating one new excel file while executing but my need id to write into an existing .xls file. currently I am using: my $workbook = Spreadsheet::WriteExcel::Big->new("file.xls"); for that which method Should I use?? can anyone please help me... Thanks
by: vijayarl | last post by:
Hi Everyone, Am trying to collate the individual xls files into a single xls file.i have written this code. use strict; use Spreadsheet::WriteExcel; use Spreadsheet::ParseExcel; use Spreadsheet::WriteExcel::Big; my $consol_rows=0;
by: pankajit09 | last post by:
The perl code is as below : use strict; use Spreadsheet::ParseExcel; my $parser = Spreadsheet::ParseExcel->new( CellHandler => \&cell_handler, NotSetCell => 1 ); my $workbook = $parser->Parse('bad.xls'); sub cell_handler { my $workbook = $_;
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.