--- lib/DateTime.pm~ 2016-12-25 18:08:48.008766464 +0200 +++ lib/DateTime.pm 2017-05-12 23:06:12.530562738 +0300 @@ -2026,7 +2026,7 @@ my %p = $validator->(@_); if ( $p{locale} ) { - carp 'You passed a locale to the set() method.' + Carp::carp 'You passed a locale to the set() method.' . ' You should use set_locale() instead, as using set() may alter the local time near a DST boundary.'; }