I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-10-02 13:12:18-07 by sandeep78
Error reading a numeric cell
Hello, I am trying to read a numeric cell from an excel spread sheet. This is the simple script, I am using. ----------------------------------------------------------------------
#!/usr/local/bin/perl use strict; use warnings; use Spreadsheet::ParseExcel; my $file = shift @ARGV; my $excel = Spreadsheet::ParseExcel::Workbook->Parse($file); my $worksheet = $excel->Worksheet(0); my $cell = $worksheet->{Cells}[33][13]; print $cell->Value,"\n";
---------------------------------------------------------------------- The script is returning some junk value. For example: In the cell above, I have -4.1, script returns....7.42648557919274e+275 Please help me fix this problem. Thanks
Direct Responses: 9110 | Write a response