Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^4: Spreadsheet::WriteExcel large files (text versus binary format)

by mrguy123 (Hermit)
on Jan 02, 2012 at 13:08 UTC ( #945911=note: print w/replies, xml ) Need Help??

in reply to Re^3: Spreadsheet::WriteExcel large files (text versus binary format)
in thread Spreadsheet::WriteExcel large files

They both contain the same data. The smaller file was created by opening the large file and saving it again (hence my confusion)
It makes sense that the formulas might have been lost in the process, but it is still surprising that the size difference is so huge.
  • Comment on Re^4: Spreadsheet::WriteExcel large files (text versus binary format)

Replies are listed 'Best First'.
Re^5: Spreadsheet::WriteExcel large files (text versus binary format)
by BrowserUk (Pope) on Jan 02, 2012 at 13:16 UTC

    .xls files can contain all sorts of stuff. In addition to the formulae and values, they can also contain whole libraries of macrocode; lookup tables; formatting instructions etc. I think they can also contain embedded images and graphs though I'm not sure about that. They are also known to contain all sorts of other crap, some of which can have security implications.

    As you are creating the smaller file by only copying over the values of a range of cells, all that other stuff will not exist in the file created.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Thanks for your answers!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://945911]
[Corion]: On the other hand, the Radeon 580 RX would cost 380 instead of 430 ... But still, that's ATi and I've been unhappy with ATi drivers the two times I had one in my desktops

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-08-21 08:41 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (319 votes). Check out past polls.