List,
    I'm having trouble with the following:

my $tf = HTML::TagFilter->new(strip_comments => 1);
$tf->allow_tags(undef);
my $clean_html = $tf->filter($res->content);

But now my $clean_html has soooo many line feeds, tabs and spaces, wasted
space.
I don't know enough regex to make it remove all this extra whitespace.
I basically want all white space thats not a single space to be removed.
Samples please?


/B

Reply via email to