Nov 19, 2004, 1:59 PM
I need to grab a web page then print the title and meta description. I've already been able to print out the title using the following:
my $h = HTTP::Headers->new;
my $p = HTML::HeadParser->new($h);
$p->parse($html) and print "not finished";
But I can't figure out how to print out the meta description using HTTP::Headers and HTML::HeadParser. Is there any way to do this using these packages? I don't want to bother with regular expressions.
(This post was edited by Regent on Nov 19, 2004, 2:04 PM)