in reply to sec too small

Have you tried upgrading the LWP::UserAgent (and prehaps WWW::Mechanize) modules?

see: http://stackoverflow.com/questions/2185641/suppressing-day-too-big-warning-in-perl-lwpuseragent