I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-06-26 21:44:15-07 by jerrycap
HTML::TreeBuilder
I am using an example from Sean Burke's "Perl & LWP" to use the TreeBuilder module to build a tree. I want to extract the text from embedded HMTL tables. The method as_text() is used to extract the text. I am stumbling upon embedded
tags in the table text that are not being evaluated as I would expect. Example of text - 123 Main Street
Anytown, CA
123456 This is displayed as 123 Main StreetAnytown, CA123456 when using the as_text() method. Is there some way of translating the html/text and having it display on separate lines as in: 123 Main Street Anytown, CA 123456
Direct Responses: 660 | Write a response