Sep 30, 2000, 9:01 AM
Post #2 of 13
Since this is an Intermediate forum, here's an intermediate answer.
Break the problem in two. The first part is how to get a remote page. The easiest way is to use LWP::Simple (which you can get from CPAN, or via ActivateState's PPM if you're on Win32). The documentation in that module gives an example. It's only a few lines of code. And, not surprisingly, the function from LWP that you'll use is get().
The second part of the problem is extracting the table. There are a couple of approaches to this, depending on the shape of the table, and what you want to do with the table contents. You might be able to get by with a single regular expression, or you might need something a bit more complicated.
Solve the first part. Then, if you're unable to solve the second, post another message.