G'day all, Just wondering what my best way to extract the second part of my table...
<td><tt><b>NOT YET AVAILABLE</b></tt> </td> If I use the following code I can extract the phone number but I can't extract the coverage outcome... @headers = qw/number coverage/; $te = new HTML::TableExtract( headers => [@headers] ); $te->parse($html_string); # Examine all matching tables foreach $ts ($te->table_states) { print "Table (", join(',', $ts->coords), "):\n"; foreach $row ($ts->rows) { $mRow = "@$row"; $mRow =~ s/.*\>//g; $mRow =~ s/[^.\d\s]//g; @webValues = split/\s+/, $mRow; print join(' ', $mRow), "\n"; } } undef @headers; I can extract 12 3456 7890, but I can't extract NOT YET AVALIABLE? Is there something I am doing wrong? Should I be stripping out the bold tags? Regards, Dan <table bgcolor="lightblue" border=0> <tr> <td><tt>Number</tt> </td> <td><tt>Coverage</tt> </td> </tr> <tr> <td><tt>12 3456 7890</tt> </td> <td><tt><b>NOT YET AVAILABLE</b></tt> </td> </tr> </table> ============================== VINTEK CONSULTING PTY LTD (ACN 088 825 209) Email: [EMAIL PROTECTED] WWW: http://www.vintek.net Tel: (08) 8523 5035 Fax: (08) 8523 2104 Snail: P.O. Box 312 Gawler SA 5118 rm -rf /bin/laden ============================== -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]