Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl and excel

Status
Not open for further replies.

bluegroper

Technical User
Dec 12, 2002
407
AU
I'm trying to use perl (on linux) to read/write some excel files, that are also accessible to windoze clients using samba.

Tried using cpan and
install DBD::Excel

but I gets these errors :

Base class package "Spreadsheet::parseExcel::Workbook" is empty.
(Perhaps you need to 'use' the module which defines that package first.)
at /usr/lib/perl5/site_perl/5.8.5/Spreadsheet/ParseExcel/SaveParser.pm line 14
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/Spreadsheet/ParseExcel/SaveParser.pm line 14.
Compilation failed in require at blib/lib/DBD/Excel.pm line 18.
Compilation failed in require at test.pl line 11.
BEGIN failed--compilation aborted at test.pl line 11.
not ok 1
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
KWITKNR/DBD-Excel-0.06.tar.gz : make_test NO


How do I fix ?
Does DBD::Excel work on a linux host, or only windoze ?
TIA's
 
Hi

Did you install Spreadsheet::parseExcel module in your Linux machine?

DBD::Excel uses Spreadsheet::parseExcel.

I would suggest to install first Spreadsheet::parseExcel. Then test this module, I mean go to the examples of the module and try to read one xls file that you have in your directory.

Cheers



dmazzini
GSM/UMTS System and Telecomm Consultant

 
Yes, I'm using Spreadsheet::parseExcel
It seems to work fine.
Shall keep trying.
Thx's
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top