get rid of warning on older versions of Perl