Jay Savage wrote:
On Mon, Oct 27, 2008 at 7:32 AM, Brian <[EMAIL PROTECTED]> wrote:
Hello again

Not too sure how to pose this question, but here goes.

Working on an html page.
There are many blocks of code placed between <tr> and </tr> in the page.

The block(s) I am playing with have seven lines of code placed between <tr>
and </tr>, (repeated a number of times throughout the page) but which have
specific differences to all the other blocks. The first being, each line in
this block contains the word scope.
The second being, none of the other blocks contain any of the following data
between ">" and "<"


Hi Brian,

There is no need to reinvent the wheel, here. Parsing HTML is
notoriously difficult, and other people have spent years on the
problem.

Take a look at HTML::Tree or HTML::TokeParser, for starters.

HTH,


Hmm, looks like I might have to change paths here.
Methinks I may have to look into playing with offsets.

Thanks Jay
Brian


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to