$text = join '', grep { not ref $_ } $tree->content_list; [download]
-- integral, resident of freenode's #perl
In reply to Re: HTML::TreeBuilder by integral in thread HTML::TreeBuilder by Doug Bales