Perl 5.21.1 and later have a different warning message

Fixes #40