Hi,

I use HTML::Parser to find all comments within a given html file and this 
works pretty fine. But how can I find or search for comments like this with
HTML::Parser:

<script language="JavaScript">
<!--
        br=GetBrowser(true);

        if (br==1)
                self.location.href="IE/index.php";
        else
                self.location.href="NS/index.php";
// -->

I suppose because of the "// -->" part the comment is not found by 
HTML::Parser? How can I find C-like comments like /** and stuff?

Thank you very much, bye
Werner.

Reply via email to