in linux the following works correct

use WWW::Mechanize;
my $m = WWW::Mechanize->new();
$m->get("http://someimage.jpg");
my $data = $m->content;
my $contenttype=$m->ct;
print "Content-type: " . $contenttype . "\n\n";
print $data;


but in windows it screws up. Some images download but not others.

I'm using Active Perl latest version since a week ago.
I used ActivePerl's package manager to get www::mechanize.

It seems to work ok for the html but its failing on the pictures.

In linux I use

rpm -qa | grep perl
perl-Convert-ASN1-0.20-1.1
perl-MP3-Info-1.21-1.fc6
perl-IO-Zlib-1.04-4.2.1
perl-HTML-Parser-3.55-1.fc6
perl-BSD-Resource-1.28-1.fc6.1
perl-TimeDate-1.16-3.2.1
perl-XML-NamespaceSupport-1.09-1.2.1
perl-XML-Dumper-0.81-2.fc6
perl-Devel-Symdump-2.0601-1
perl-IO-Socket-INET6-2.51-2.fc6
perl-Cairo-1.023-1.fc6
perl-Carp-Clan-5.3-1.2.1
perl-XML-Grove-0.46alpha-29.1.1
perl-Parse-Yapp-1.05-36.fc6
perl-URI-1.35-3
perl-DBI-1.52-1.fc6
perl-libxml-perl-0.08-1.2.1
perl-XML-LibXML-1.58-2.2.2.1
perl-RPM2-0.67-1.fc6
net-snmp-perl-5.3.1-15.fc6
perl-Net-IP-1.25-2.fc6
perl-HTML-Tagset-3.10-2.1.1
perl-Crypt-SSLeay-0.51-12.fc6
newt-perl-1.08-9.2.2
perl-Date-Calc-5.4-1.2.2.1
perl-TermReadKey-2.30-1.2.2.1
perl-LDAP-0.33-3.fc6
perl-IO-String-1.08-1.1.1
perl-Frontier-RPC-0.07b4-1
perl-SDL-2.1.3-3.fc6
perl-Net-DNS-0.60-1.fc6
perl-Digest-HMAC-1.01-15
perl-suidperl-5.8.8-10
perl-PDL-2.4.2-6.fc6
perl-Archive-Tar-1.30-1.fc6
perl-XML-Encoding-1.01-27
perl-XML-Parser-2.34-6.1.2.2.1
perl-Crypt-SSLeay-0.51-9.2.2.1
perl-Bit-Vector-6.4-2.2.2.1
perl-libwww-perl-5.805-1.1.1
groff-perl-1.18.1.1-11.1
perl-XML-RegExp-0.03-2.fc6
perl-XML-DOM-1.44-2.fc6
perl-Socket6-0.19-3.fc6
perl-DateManip-5.44-2.fc6
perl-Compress-Zlib-1.42-1.fc6
perl-IO-Socket-SSL-1.01-1.fc6
perl-5.8.8-10
perl-DBD-MySQL-3.0007-1.fc6
perl-DBD-Pg-1.49-1.fc6
perl-Inline-0.44-15.2.1
mod_perl-2.0.2-6.2.fc6
perl-File-MMagic-1.27-1
perl-Archive-Zip-1.16-1.2.1
perl-XML-SAX-0.14-2
perl-Gtk2-1.144-1.fc6
perl-WWW-Mechanize-1.30-2.fc6
perl-Net-SSLeay-1.30-4.fc6
perl-Glib-1.143-1.fc6
perl-gettext-1.05-9.fc6
perl-Git-1.5.2.2-1.fc6
perl-Digest-SHA1-2.11-1.2.1
perl-RPM-Specfile-1.19-2.1.1
perl-XML-LibXML-Common-0.13-8.2.2
perl-NKF-2.07-1.1.fc6
openssl-perl-0.9.8b-8.3.fc6
perl-XML-Twig-3.29-1.fc6
perl-Error-0.17007-1.fc6