Skip Menu |
 
Update: The rt.cpan.org bug tracker service is no longer shutting down.

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

Report information
The Basics
Id: 46654
Status: resolved
Priority: 0/
Queue: Spreadsheet-XLSX

People
Owner: Nobody in particular
Requestors: hanenkamp [...] cpan.org
Cc:
AdminCc:

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

Attachments
XLSX.pm



Subject: Cannot load from file handles
Download (untitled) / with headers
text/plain 655b
With Spreadsheet::ParseExcel, it is possible to run parse more than just file names. The Parse() method of Spreadsheet::ParseExcel will deal with the following kinds of arguments for the source: * A scalar is treated as a file name * A file handle is read as a file handle * An array of strings (treated as the file contents) * A reference to a scalar (treated as the file contents) It would be helpful if Spreadsheet::XSLX could do the same. It should not be necessary to write a file to disk that's already in memory just to parse it. As I read the use of Archive::Zip, this is all that Spreadsheet::XLSX is currently capable of. Cheers, Sterling
Download (untitled) / with headers
text/plain 966b
I need this functionality for a webapp; so, I modified the module to fix this bug (just reading from an open file handle). There is a quirk, the filehandle is morphed into an IO::File. Attached is the only file I modified. Tony On Wed Jun 03 17:15:12 2009, HANENKAMP wrote: Show quoted text
> With Spreadsheet::ParseExcel, it is possible to run parse more than just > file names. The Parse() method of Spreadsheet::ParseExcel will deal with > the following kinds of arguments for the source: > > * A scalar is treated as a file name > * A file handle is read as a file handle > * An array of strings (treated as the file contents) > * A reference to a scalar (treated as the file contents) > > It would be helpful if Spreadsheet::XSLX could do the same. It should > not be necessary to write a file to disk that's already in memory just > to parse it. As I read the use of Archive::Zip, this is all that > Spreadsheet::XLSX is currently capable of. > > Cheers, > Sterling
Subject: Re: Cannot load from file handles
Check, please, the version 0.13


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.