
perlkid
stranger
Aug 20, 2000, 8:06 PM
Post #2 of 7
(952 views)
|
|
Re: Perl Script - Pull web page?
[In reply to]
|
Can't Post
|
|
Hey Mike, How's it goin? I have an idea. Try using LWP::Simple; like so, <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> use LWP::Simple; $content = get("http://www.site.com"); </pre><HR></BLOCKQUOTE> Now you can do whatever you want to the html of the web site wich is stored in $content. If you want to you can even add the line push(@array, $content); If you want to treat the html as an array. Hope That helps, Perlkid
|