in reply to Re^3: HTML Parsing /Regex Qstn
in thread HTML Parsing /Regex Qstn
If you want all text (including inner tags), you can use as_text method of elements. In this case it would also return title and date, but generally it is useful.... for my $part ($div->content_list) { print $part,"\n" if !ref($part); } ...
--Roman
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: HTML Parsing /Regex Qstn
by sri1230 (Novice) on Jan 21, 2010 at 21:47 UTC |