The 'locale' parameter (undef) to DateTime::new was an 'undef', which is not one of the allowed types: scalar object at /usr/lib/perl5/site_perl/5.8.5/Params/ValidatePP.pm line 634 Params::Validate::__ANON__('The \'locale\' parameter (undef) to DateTime::new was an \'un...') called at /usr/lib/perl5/site_perl/5.8.5/Params/ValidatePP.pm line 485 Params::Validate::_validate_one_param('undef', 'HASH(0x1039fb0)', 'HASH(0xe04910)', 'The \'locale\' parameter (undef)') called at /usr/lib/perl5/site_perl/5.8.5/Params/ValidatePP.pm line 345 Params::Validate::validate('ARRAY(0xa87370)', 'HASH(0xe284a0)') called at /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/DateTime.pm line 171 DateTime::new('undef', 'year', 2015, 'month', 08, 'day', 24, 'hour', 17, ...) called at MonitorClass.pm line 80 MonitorClass::MakeDateTime('MonitorClass=HASH(0xf03430)', 2015, 08, 24, 17, 36, 47, 144) called at MonitorClass.pm line 196