mohanprabu2 has asked for the wisdom of the Perl Monks concerning the following question:

My script dosn't work.. please replay me how to download this image?

#!C:/Perl/bin/perl.exe -w use warnings; use strict; use WWW::Mechanize; my $mech = WWW::Mechanize->new(agent => 'Mozilla/5.0'); $mech->mirror('http://www.click.in/includes/gd.php?scode=NzQwOTc0','d: +/img.jpg');
  • Comment on Downloading .jpg images using the LWP::UserAgent and WWW::Mechanize modules
  • Download Code

Replies are listed 'Best First'.
Re: Downloading .jpg images using the LWP::UserAgent and WWW::Mechanize modules
by Corion (Patriarch) on Nov 27, 2009 at 07:50 UTC

    "Doesn't work" is not an error description. We will need a detailed description of how this script fails for you.