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


in reply to Parsing Text from a File to HTML Table

In addition to what Athanasius says, you need to add

print "<table>";

before your while loop, and

print "</table>;"

after it.

Unless, of course you're not showing us the totality of your code (I notice that you have use HTML::Template; at the top of your snippet, but you never actually, er, use it).

Also, what is use Win32; supposed to do?