Thanks, everybody. All advice was gratefully received and I ended up using LWP::Simple as per Ron's suggestion. It even worked after I'd finished being thick!
-----Original Message----- From: Ron Grabowski [mailto:[EMAIL PROTECTED]] Sent: 23 July 2002 20:30 To: Active Perl (E-mail) Subject: Re: Warning - newbie! Help with script to fetch and save URLs > I am trying to retrieve a series of html pages with a URL like > "http://www.website.com/folder/filename_1.html" which increments the > filename number. I ant to save the web pages in a folder on my hard drive, > with the files numbered. The LWP::Simple module: C:\>perldoc LWP::Simple has a function called getstore() which takes a URL and a filename and saves the URL to the specified file. _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ************************************************************************ Any information in this communication which is confidential must not be disclosed to others without our consent. Such consent is not required where the information is publicly available and intended for onward distribution. If the information is confidential and if you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. You are requested to return this message to the sender immediately. Due to the electronic nature of e-mail, there is a risk that the information contained in this message has been modified. Consequently Man Group plc can accept no responsibility or liability as to the completeness or accuracy of the information. Visit us at: www.mangroupplc.com ************************************************************************ _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
