If all you want to do is grab the text you could use the code below. If you also need to parse it you will need to look into using a parser as the other mentioned.
use LWP::Simple; my $html = get('http://www.cnn.com'); # If you need to split it into lines, this should work my @lines = split(/\n/, $html); Rob -----Original Message----- From: Collins, Joe (EDSI\BDR) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 9:27 AM To: '[EMAIL PROTECTED]' Subject: How do I read a web page from within perl? For example, suppose I want to capture www.cnn.com into an array and process the text. How does one do this? Many thanks, Joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]