Apply ihis patch to HTTP::Date.pm to stop the "Sec too big", "Day too big" warnings. The following command should do it. Might need to run it as root. cd /path/to/perl/lib/HTTP ; patch 2037) ? 2037 : $year); + } sub str2time ($;$) { *************** *** 38,50 **** # fast exit for strictly conforming string if ($str =~ /^[SMTWF][a-z][a-z], (\d\d) ([JFMAJSOND][a-z][a-z]) (\d\d\d\d) (\d\d):(\d\d):(\d\d) GMT$/) { ! return eval { ! my $t = Time::Local::timegm($6, $5, $4, $1, $MoY{$2}-1, $3); $t < 0 ? undef : $t; }; } my @d = parse_date($str); return undef unless @d; $d[1]--; # month --- 46,59 ---- # fast exit for strictly conforming string if ($str =~ /^[SMTWF][a-z][a-z], (\d\d) ([JFMAJSOND][a-z][a-z]) (\d\d\d\d) (\d\d):(\d\d):(\d\d) GMT$/) { ! return eval { ! my $t = Time::Local::timegm($6, $5, $4, $1, $MoY{$2}-1, __maxyear($3)); $t < 0 ? undef : $t; }; } my @d = parse_date($str); return undef unless @d; + $d[0] = __maxyear($d[0]); $d[1]--; # month