I have an application in Perl that reads HTML-based and converts it to text output. One of the things I've come across is the need to easily convert an HTML table to a fixed font output.
<table border="1"> <tr><td>Hello</td> <td>World</td> <tr> <td>foo</td> <td>bar</td> </tr></table>
I am looking for something that can take the above table and create something like the following.
------------------------------ | Hello | World | ------------------------------ | foo | bar | ------------------------------
I know how to approach this in Perl and write a process, but I hope there is some library that will already do this for me.
html text perl
Tim Koscielski
source share