Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML::Tokeparser help needed

Status
Not open for further replies.

c0rpse

Programmer
Aug 10, 2001
2
GB
I've got this code ;

use HTML::TokeParser;
$p = HTML::TokeParser->new(shift||"$buffer");
if ($p->get_tag("title")) {
my $title = $p->get_trimmed_text;
print "Title: $title\n";
}

for finding the title from a html page , can someone tell me how to change it to get the background color ( bgcolor= ) , i've tried alsorts and can work it out

thanx for ne help
daniel aka perl newbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top