http://www.perlmonks.org?node_id=915197


in reply to Enter Data in CSV File

Use an HTML Parser like HTML::Parser or HTML::TreeBuilder (perhaps the data is in a table, use HTML::TableExtract), and use Text::CSV to append records to your CSV file.