CORE::warn does not work on older versions of Perl