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


in reply to Print Flat File to HTML

Or you could accomplish the same thing with this complete script:
#!/usr/bin/perl use warnings; use strict; use AnyData; adConvert('Tab','somefile.csv','HTMLtable','somefile.html'); __END__
That takes the tab "delimited" file "somefile.csv" and turns it into an HTML table. It assumes that the columns are stored in the first row of the file, if not, you can easily specify them.