in reply to How to save the .html file?
Try LWP::Simple:
use LWP::Simple; my $url = $ARGV[0]; my $file = "c:\Documents\savefile.htm"; getstore($url,$file); [download]