The above code takes care of spaces/linebreaks &s.o. And its fast and widely used. Just my 5cents. FJuse HTML::TreeBuilder; my $tree = HTML::TreeBuilder->new()->parse($data); for my $tag ($tree->look_down( _tag => "meta")) { $kWords{$tag->attr("name")} = $tag->attr("content"); }
In reply to Re^2: meta parsing problems
by Anonymous Monk
in thread meta parsing problems
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |