ketaki has asked for the wisdom of the Perl Monks concerning the following question:
also, when i saw the list of installed modules on the webserver which im using, it didnt have any module like this: spreadsheet::parseexcel, although there was module called spread, and some others like this : spreadsheet::parseexcel::<something>. but thr was none like this much: spreadsheet::parseexcel. however, when i run this script it doesnt give me an error that cannot find module etc....????#!usr/bin/perl print "content-type:text/html\n\n"; use strict; use warnings; use CGI qw(:standard); use CGI::Carp qw(fatalsToBrowser); use Spreadsheet::ParseExcel; my $obook= Spreadsheet::ParseExcel::Workbook->Parse('Excel//home/www/x +xxxxxxxxxxxxxxxxxxx.org/excel/yyyyyyyyyyyyyyy') or die "error: $!"; my $osheet =$obook->{worksheet}[1]; my $sheetname = $osheet->{Name}; my $rows= ($osheet->{minrow}) - ($osheet->{marrow}); my $cols= ($osheet->{mincol}) - ($osheet->{maxcol}); print "$sheetname $rows $cols";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: no output of spreadsheet
by ysth (Canon) on Jul 04, 2008 at 07:05 UTC | |
by ketaki (Acolyte) on Jul 04, 2008 at 08:15 UTC | |
|
Re: no output of spreadsheet
by Your Mother (Archbishop) on Jul 04, 2008 at 06:53 UTC |