[perl] How to fix a locale setting warning from Perl