in reply to Re^2: My first socket program is SLOW?
in thread My first socket program is SLOW?
"I'm actually trying to fetch about 6 pages and then snatch stuff out of them with regex's"
The general advice is not to use a regex to parse/manipulate HTML/XML but use one of the parsing modules on cpan. For HTML look at modules such as HTML::Parses and HTML::TokeParser, also see HTML::TokeParser help - parsing headlines or use super search to find more examples.
Hope this helps
Martin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: My first socket program is SLOW?
by ttlgreen (Sexton) on Jan 15, 2009 at 21:43 UTC | |
by marto (Cardinal) on Jan 16, 2009 at 11:06 UTC |