in reply to Re: A nice text processing question
in thread A nice text processing question
I haven't really used HTML::Parser very much, but I don't think it's as much a friend as you might think. The problem should've been stated as such:
while (<DATA>) { my @tokens = split /-+/, $_; foreach my $token (@tokens) { $token = do_html_balancing($token); do_something_else_with_token($token); } }
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
|---|