Hi,
I have the following problem. I have the database with HTML documents in
each line. I want to extract all links from the HTML code.
So the program should look like this:
use HTML::Parser;
use strict;
# open the file...
while(<FILE>)
{
my $fullhtml= $_;
my @tags;
my $p=HTML::Parser->new(start_h=>[\@tags,"text"],
end_h=>[\@tags,"text"]);
$p->parse($fullhtml);
@tags=map($_=$$_[0],@tags);
print "TAGS: @tags\n";
}
But @tags are empty!
Any help?
bye, Matej
- HTML::Parser Terminal TSC
- Re: HTML::Parser Gisle Aas
- Re: HTML::Parser dave fleet
- Re: HTML::Parser Matej Kovacic
- Re: HTML::Parser Gisle Aas
- HTML::Parser Yin-Leng \(Yen-Ling\)
- Re: HTML::Parser Eduardo M. Cavalcanti
- Re: NET::Ping Jeff Koch
- HTML::Parser Werner Schalk
- Re: HTML::Parser Gisle Aas
- Re: HTML::Parser Werner Schalk
- Re: HTML::Parser Gisle Aas
- HTML::Parser Troy R. LeBouef
- Re: HTML::Parser Gisle Aas
