in reply to Need to Compile some Webpages...

You can try WWW::Robot. Also if you like lwp's rget you can just call it with system(). Or since it just perl script you can take its source and adapt for your needs.