in reply to Re^2: is_start_tag not on tokeparser simple
in thread is_start_tag not on tokeparser simple
Your first call to get_text (when you check if it has a value) is eating the text, then the next call doesn't get the value. You probably want something more along the lines of:
my $text = $htm5->get_text; if ($text) { $headtags .= " $text"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: is_start_tag not on tokeparser simple
by Anonymous Monk on Mar 22, 2006 at 22:52 UTC | |
by revdiablo (Prior) on Mar 23, 2006 at 06:15 UTC |