<td valign="top">9506 PASTURE DRIVE OOLTEWAH, TN 37363</td>
But when I run this for the parsed HTML::Element:
print $tds[1]->as_trimmed_text();it gives me:
9506 PASTURE DRIVE OOLTEWAH, TN 37363
Without the newline character after drive. So I can't reliably get the city name. How to preserve newlines in HTML::Element, HTML::TreeBuilder?
In reply to HTML::Element newline character by usr345
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |