in reply to Re^2: Append new line in excel sheets
in thread Append new line in excel sheets
Unfortunately .XLS files are a binary format which you cannot process on a row by row basis. Everything will be read in memory at once and I do not think there is another way around this.
I did find Spreadsheet::ParseExcel_XLHTML (an old module, last updated in 2009) which claims to be faster and does "less fancy stuff". It replaces the parsing subroutine of Spreadsheet::ParseExcel and perhaps uses less memory? I haven't tried it, so I have no idea if it works well. Also there is no ::Simple version of it. However, if you look at the source code of Spreadsheet::ParseExcel::Simple it seems easy to make a Spreadsheet::ParseExcel_XLHTML::Simple yourself.
Update: Unfortunately I cannot install Spreadsheet::ParseExcel_XLHTML since it needs bin:xlhtml which is not available on my PC.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial Deltronics
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Append new line in excel sheets
by perl_new_b (Novice) on Jul 14, 2014 at 05:36 UTC | |
by CountZero (Bishop) on Jul 14, 2014 at 06:21 UTC | |
by perl_new_b (Novice) on Jul 14, 2014 at 06:59 UTC | |
by roboticus (Chancellor) on Jul 23, 2014 at 11:49 UTC | |
by perl_new_b (Novice) on Jul 23, 2014 at 12:49 UTC | |
| |
by CountZero (Bishop) on Jul 15, 2014 at 16:52 UTC | |
by perl_new_b (Novice) on Jul 21, 2014 at 11:41 UTC | |
|