Click here to get back home

Error in Spreadsheet module

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Error in Spreadsheet module Santana 08-09-2007
Posted by Santana on August 9, 2007, 3:27 am
Please log in for more thread options


Error in Spreadsheet module

Hei friends,
i'am new in newbie in Perl, and i try i convert a excel file in csv
file in Suse 10.0 linux.

I install the Spreadsheet-ParseExcel-0.32.tar.gz module in my linux
but when i try run this script :

use strict;
use Spreadsheet::ParseExcel;


my $excel =3D Spreadsheet::ParseExcel::Workbook->Parse($file);
foreach my $sheet (@}) {
printf("Sheet: %s\n", $sheet->);
$sheet-> ||=3D $sheet->;
foreach my $row ($sheet-> .. $sheet->) {
$sheet-> ||=3D $sheet->;
foreach my $col ($sheet-> .. $sheet->) {
my $cell =3D $sheet->[$row][$col];
if ($cell) {
printf("( %s , %s ) =3D> %s\n", $row, $col, $cell-
>);
}
}
}
}



I have a error something like this :

"Can=B4t locate Spreadsheet.pm in @INC(@INC constains : ............"


There is missing other module ?

Can you help me, please ??

Thanks,
Paulito


Posted by Michael Zedeler on August 9, 2007, 4:32 pm
Please log in for more thread options


Santana wrote:
> Error in Spreadsheet module
>
> i'am new in newbie in Perl, and i try i convert a excel file in csv
> file in Suse 10.0 linux.
>
> I install the Spreadsheet-ParseExcel-0.32.tar.gz module in my linux
> but when i try run this script :
>
> use strict;
> use Spreadsheet::ParseExcel; [snip]>
> I have a error something like this :
>
> "Canīt locate Spreadsheet.pm in @INC(@INC constains : ............"
>
> There is missing other module ?

I've used that module very on a unix machine and didn't experience any
problems. How did you install the module? By using CPAN (perl -MCPAN -e
shell) or manually (download package from CPAN, unpack, compile, test
install)?

Would you mind posting the complete error message as perl reports it?

Regards,

Michael.

Similar ThreadsPosted
Spreadsheet::ParseExcel error on Perl 5.8.0 November 7, 2005, 6:02 am
Perl-Tk module - relocation error December 2, 2004, 4:12 pm
Error in delete file using NET:FTP module February 10, 2006, 6:31 pm
Error in perl module "bignum"... May 14, 2006, 4:31 pm
Installation error for module in CentOS 5.0 for HTML::Mason June 18, 2007, 10:03 pm
creating perl binary using PAR module , execution error under unix March 15, 2008, 7:06 am
Error: RCPT TO: error (550 relay not permitted) February 11, 2006, 1:39 pm
GD.c: 533: error: syntax error before "void" March 24, 2006, 10:15 am
Spreadsheet::WriteExcel December 7, 2005, 3:50 pm
ANN: Spreadsheet::Read 0.15 June 21, 2006, 12:40 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap