Home: Perl Programming Help: Intermediate:
How do i keep blocks of text together??


Jul 10, 2000, 6:17 PM

Views: 1538
How do i keep blocks of text together??

Hello wise ones.

I am working on parsing out all the plain text in a given web page and inserting those pieces into editable text boxes. Here is my problem: i am using the HTML::Parser module and i can only deal with the file line by line. I really want to keep blocks of text together rather than break up each line of text into its own box. And i also want titles to have their own box. I am busting my head on this logic. i don't think i will have any problem with the actual programming, but i can't come up with the right rules for parsing out the file.

pleeease help me!!

Shaheeb R.