From: [EMAIL PROTECTED] > I have some code that I've been working on. I know it will be > painfully obvious to you that I'm not very experienced yet with Perl, > because I know I'm not taking advantage of the full text-processing > power it has. What I want to do is to read an HTML file and find all > occurrences of an unclosed tag, like a <td> without an </td>. So far, > the code lets me know how many tags aren't closed, but not which ones, > which I think will be more complicated, because I'll have to use some > hashes to keep track every time I enter a new <table> tag.
I'd recommend using HTML::Parser or another HTML parsing module. The code will look a little strange at first (kind of inside out), but THAT is the way to go. Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]