Groups
Groups
Sign in
Groups
Groups
Spreadsheet::ParseExcel
Conversations
About
Send feedback
Help
Announce: Spreadsheet::ParseExcel version 0.56
26 views
Skip to first unread message
jmcnamara
unread,
Dec 10, 2009, 7:49:48 AM
12/10/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Spreadsheet::ParseExcel
Hi,
Spreadsheet::ParseExcel version 0.56 has been uploaded to CPAN.
http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel/
The main changes in this release is the addition of error handling
when parse() fail
my $parser = Spreadsheet::ParseExcel->new();
my $workbook = $parser->parse('Book1.xls');
if ( !defined $workbook ) {
die $parser->error(), ".\n";
}
The parsing errors that are handled are:
error() error_code()
======= ============
'' 0
'File not found' 1
'No Excel data found in file' 2
'File is encrypted' 3
The last one is particularly useful since previously if you tried to
parse an encrypted file you could run out of memory.
See the error* sections of the docs for more information.
Download:
http://search.cpan.org/CPAN/authors/id/J/JM/JMCNAMARA/Spreadsheet-ParseExcel-0.56.tar.gz
.
Changelog:
http://search.cpan.org/src/JMCNAMARA/Spreadsheet-ParseExcel-0.56/Changes
John.
--
Reply all
Reply to author
Forward
0 new messages