Thanks a lot :)

Thanks,
Paryushan

-----Original Message-----
From: John W. Krahn [mailto:jwkr...@shaw.ca] 
Sent: Friday, May 22, 2009 2:42 PM
To: Perl Beginners
Subject: Re: Save html page using perl

Sarsamkar, Paryushan wrote:
> Hi,

Hello,

> I have a URL, which displays different content at different time. Now
I
> want to save the page as html page to a particular location. How can I
> do that using perl?

use LWP::Simple;

getstore( 'http://www.somehost.com/somepage.html', 
'/home/Sarsamkar/somepage.html' );



John
-- 
Those people who think they know everything are a great
annoyance to those of us who do.        -- Isaac Asimov

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/



--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to