Skip Menu |

This queue is for tickets about the Spreadsheet-ParseExcel-Simple CPAN distribution.

Report information
The Basics
Id: 25567
Status: new
Priority: 0/
Queue: Spreadsheet-ParseExcel-Simple

People
Owner: Nobody in particular
Requestors: mclander [...] list.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Spreadsheet-ParseExcel-Simple improvement
Date: Tue, 20 Mar 2007 16:55:11 +0300
To: bug-Spreadsheet-ParseExcel-Simple [...] rt.cpan.org
From: Alexander mcLander <mclander [...] list.ru>
Hi, Tony. It will be great if you make some patch. # line 108 \/ sub read { my $class = shift; - my $book = Spreadsheet::ParseExcel->new->Parse(shift) or return; + my $book = Spreadsheet::ParseExcel->new->Parse(@_) or return; bless { book => $book }, $class; } This behaviour is usefull for works with National languages, for instance; use Spreadsheet::ParseExcel::Simple; use Spreadsheet::ParseExcel::FmtUnicode; my $oFmt = Spreadsheet::ParseExcel::FmtUnicode->new(Unicode_Map => 'CP1251'); my $xls = Spreadsheet::ParseExcel::Simple->read($file, $oFmt); Best reagards, Alexander mcLander