Thread get source code with LWP::UserAgent (9 answers)
Opened by Gizmo at 2013-12-11 19:39

GwenDragon
 2013-12-11 19:48
#172553 #172553
User since
2005-01-17
14757 Artikel
Admin1
[Homepage]
user image
Should work with CPAN:LWP::Simple and getstore. ;)

Code (perl): (dl )
1
2
3
4
5
6
use LWP::Simple;

my $url = "http://www.google.com/";
my $file = "code.html";

getstore($url, $file);

Last edited: 2013-12-11 19:53:16 +0100 (CET)

View full thread get source code with LWP::UserAgent