Hi,
I was trying to execute this code keeping the filename as readxl.pl and got the below error:
Can't locate Spreadsheet/ParseExcel/Simple.pm in @inc<@inc contains C:/Perl/site/lib C:/Perl/lib.>at readxl.pl line1
BEGIN failed-compilation aborted at readxl.pl
I downloaded the Spreadsheet_ParseExcel_Simple_1_04.tar.gz assuming that this might be missing from the Perl library
Could anyone help me out in finding the directory under which this file should be placed?
Thanks!!
8 2297
You will notice that I have moved your post to a new thread. The thread that you posted to was 2 years old. Even if you use code from an old post, please DO NOT post to it as the thread is then resurected and no longer pertains to the original user. Essentially, you hijacked an old thread.
What OS are you on? That is something we would need to know. I would recommend you use the CPAN interface on Unix to install modules, that way you don't have to go through the hassle of building the modules by hand and also manually installing any dependencies. If you are on Windows, then you might want to look into Strawberry Perl as it contains the same CPAN interface as the Unix version of Perl.
Either way, RonB is correct, the answer is you need to install the module properly.
Regards,
Jeff
Hi,
I am using Windows XP and my Perl Version is 5.8.9
I have the following folders inside C:\Perl
(bin, etc, eg , html , man , site and lib(which in turn has so many folders)
I am not sure which one among the above should I have the extracted folder of Spreadsheet_ParseExcel_Simple_1_04.tar.gz .
I am just a beginner to Perl and your help is really a great one.Thank You!!
Best Regards,
Rudhra
RonB 589
Expert Mod 512MB
Are you using Activestate Perl, or Strawberry Perl?, or cygwin?
I concur with RonB that we really need to know what version of Perl you are running (not just the version number).
On another note though, I would HIGHLY recommend that you read one of the free Perl ebooks on the net. This one is quite good and will give you a good grounding.
Regards,
Jeff
Hi Both,
Thanks a lot for guiding me!!
I am using ActiveState Perl and yesterday I downloaded Strawbery Perl 5.12.256 as Jeff recommended but I was searching for links which helps in starting with Strawberry perl scripting as there ws no sample scripts available in strawberry perl like we had in ActiveState Perl.
Thanks for the nice links...I will go through them.
Cheers,
Rudhra
RonB 589
Expert Mod 512MB
If you want to use Strawberry perl, then you should uninstall ActiveState. Windows isn't as "smart" as *nix, so having 2 different perl ports can/will cause problems.
ActiveState comes with the ppm (Perl Package Manager) utility, which makes installing (and removing) modules very easy.
ActiveState can also use cpan to install modules just like Strawberry perl. To automate the setup to use cpan, you would use the ppm utility to install MinGW.
After that, you would be able to use cpan just like Strawberry perl.
If you're using Strawberry perl and want to use the ppm gui interface for installing modules, then simply use cpan to install the ppm module.
Sorry, I wasn't trying to throw confusion into the mix, but we didn't know which version you were using. Regardless of which distribution of Perl you use, Perl is Perl. The only difference between the two is how you install modules, really.
I would recommend reading the books in one of the links above as that should get you going in Perl.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: sql-db2-dba |
last post by:
CLI connection failed. SQL0902C. A system error (reason
code="6029321") occurred. Subsequent SQL statements cannot be
processed. SQLSTATE=58005.
Has anyone encountered the above error? We are...
|
by: Tom |
last post by:
Suppose you have code structure like this:
Option Explicit
Dim MyVariable As Single
Private Sub CallingProcedure()
Call CalledProcedure()
....Do This ...
End Sub
Private Sub...
|
by: Thelma Lubkin |
last post by:
I use code extensively; I probably overuse it. But I've been using
error trapping very sparingly, and now I've been trapped by that.
A form that works for me on the system I'm using, apparently...
|
by: JPARKER |
last post by:
Our DB2 8.2 FixPak9 database running on Win2K crashed with after
reporting this message
SQL0902C A system error (reason code = 9") ocurred
I have searched the DB2 documentation as well as the...
|
by: Mark |
last post by:
I'm just starting out in an introductory ASP.Net course, and am trying to run
a simple program but keeping getting an error.
"http://localhost/day1/listing0104.aspx" is placed in the address line...
|
by: iclinux |
last post by:
Environment:
WinXP SP2 + Python 2.4.2, with SOAPpy-0.11.6.zip, fpconst-0.7.2.zip,
and PyXML-0.8.4.win32-py2.4.exe installed.
Problem:
I'm reading DiveIntoPython these days. When running code...
|
by: Albretch Mueller |
last post by:
I need to get the name of the very code running in order to include it in a
time stamped log file.
..
As I remember, there is an ANSI standard way to ask a running program for
its name. But I...
|
by: JakkyTchong |
last post by:
Hi,
I'm writing a .dll. I'd like to know how to stop all the code running
from anywhere in the solution. For example:
-A class of the .dll is called from an .exe.
-Function A is called from the...
|
by: jonamukundu |
last post by:
Hi everyone out there
I have a rather funny problem.
Error handling code routines do not seem to work on my laptop.
I still get the default error messages when i test.
One my desktop the code...
|
by: globomike |
last post by:
Hi,
can anybody tell me what the reason code 18 means in combination with
a SQL0902 error?
It would be helpful to know details about the reason code but I could
not find any details about that...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |