Need help writing a small Perl script

I need help writing a perl script that will be run as a cron job. The script needs to connect to a webserver and download a specific page (just the source, no pictures or anything), and then save that to my server. I have tried a script already (attached) but it says unknown error on line 25 when I tried using it (in Windows with ActivePerl). Maybe this isn't the script I need at all. If anyone could help me out, that would be great. Thanks!

 

 

 

 

Top