in reply to Re^5: Check website has update file using www::mechanize
in thread Check website has update file using www::mechanize
Yeah Your are correct I pass one link to the mirror as a argument it's actually downloaded and again i pass a second link it's return a hash reference that's "response :HTTP::Response=HASH(0x8b555e4)"
my $res=$mech->mirror('firstlink','firstfile.zip'); print "response :",$res,"\n\n"; $res=$mech->mirror('secondlink','secondfile.zip'); print "response :",$res,"\n\n";
How can I change the hash reference to string
I tried roughly is correct???
print : response : ",%{$res},"\n\n"; # is correct???
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Check website has update file using www::mechanize
by Tux (Canon) on May 25, 2016 at 12:48 UTC |