in reply to Re^6: Check website has update file using www::mechanize
in thread Check website has update file using www::mechanize

Hmm, that error should have motivated you to type

$ perldoc HTTP::Response

and move on from the knowledge gained

my $res = $mech->mirror (...); if ($res->is_success) { my $content = $res->decoded_content; # Do something with content } else { warn "Oops: ", $res->status_line; }

Enjoy, Have FUN! H.Merijn