On Sat, 2 Nov 2002, montana wrote:

> I know this is simple and I'm probably overlooking something in the
> tutorial.
>
> How do I get perl to download the source code of a webpage so that I
> can do some parsing and other things to the text?

Try:

use LWP::Simple;

my $contents = get("http://www.dictionary.com/wordoftheday/";);


If you need other functions for parsing http content, you might want to
check out HTTP::Request

Chris


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to