Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: CSV or HTML?

by Ralesk (Pilgrim)
on Jan 20, 2012 at 21:52 UTC ( #949058=note: print w/replies, xml ) Need Help??


in reply to CSV or HTML?

Might be a weird thing to suggest, but if you do indeed want to read your data in OOo, why not use XLS or XLSX? Both of those have excellent readers and writers on CPAN, in particular, Spreadsheet::XLSX and Spreadsheet::WriteExcel. You have a way easier time differentiating between numbers and text, and there's no awkward conversions to be done in either Office or OOo/LO.

Update: Excel::Writer::XLSX is another one from the same author as WriteExcel. Spreadsheet::XLSX is the reader for XLSX files. Sorry about the mixup.

Replies are listed 'Best First'.
Re^2: CSV or HTML?
by jms53 (Monk) on Jan 22, 2012 at 22:36 UTC
    This might be the best solution.

    Looking it up now, because the Spreadsheet certainly consumed more memory doing a simple "sort" where Perl did it with a larger datasample, and more instructions in about 1 second.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://949058]
help
Chatterbox?
and the fire pops...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-06-25 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (564 votes). Check out past polls.