Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi, in your thread parsing html you got the totally correct advice to use well known and proved packages for HTML parsing. And now you're asking a question while being stuck with parsing HTML the hard and buggy way. IMHO follow the advice. Do it right (at least more right ;-)). Be sure the investment into investigating one of the packages will be worth probably not with this problem, but with the very next HTML parsing problem. (Assume the following: All people like what you've done and this process flow will be established and sometime someone is changing line breaks in your html and your script will break) As stated in the other thread: Have a look at Mojo::DOM which has a very nice API and is simple to use. Best regards If you still insist on solving your problem this way, give us a snippet of your html to see the structure. In reply to Re: $nextline not working
by McA
|
|