in reply to Re^2: HTML entity write error
in thread HTML entity write error

tobyink:

I saw Spreadsheet::Write and my mind immediately went to "Eh? Using a spreadsheet to create a CSV file?" and then the (truly horrible) memories surfaced. So while composing the note, I was thinking that Excel was used. My original point of using a module specifically for the task was on point, while my knee-jerk reaction to using a spreadsheet as a data transport medium was simply an added bonus. ;^)

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^4: HTML entity write error
by tobyink (Canon) on Aug 23, 2013 at 11:53 UTC

    Spreadsheet::Write actually uses Text::CSV to output CSV files anyway. Spreadsheet::Write just provides a slightly nicer interface, and more importantly allows you to use the same interface for writing either CSV or Excel files.

    FWIW, the reason I'm quite familiar with Spreadsheet::Write is because I forked it to create Spreadsheet::Wright which is a drop-in replacement that also supports OpenOffice, HTML, XHTML and JSON output (and has saner internals).

    use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name"