Re: HTML::Parse question

Gisle Aas (gisle@aas.no)
10 Jan 1998 12:53:50 +0100


David Tsai <davidt@web-consult.com> writes:

> I am now trying to parse html files.. I was wondering how to get the linked
> text of links..
> Example:
> <A HREF="myfile.html">This is the text I want</A>
> 
> Can HTML::Parse do that? Or will I have to write a little peace of code to do
> it myself?

The text is the content of the node arguments passed to the
$html->traverse callback.

Regards,
Gisle