in reply to Reading a webpage

How do I read the HTML of a web page into a character string? Is there some varient of open that specifies a URL?

You need to work on your searching skills. Use LWP::UserAgent. If you want to only get,

use LWP::Simple; my $page = get 'http://foo.com/';

Next time, use Google, search.cpan.org and Super Search first, so we can use our time to answer harder questions instead.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.

Replies are listed 'Best First'.
Re: Re: Reading a webpage
by Anonymous Monk on Jan 06, 2003 at 05:36 UTC
    Thanks that helped me 2. what is this rtfm everyone keep saying? j/k.